File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning].
77
88# Unreleased
99
10- - ** added:** Add ` json! ` for easy construction of JSON responses ([ #2962 ] ).
10+ - ** added:** Add ` json! ` for easy construction of JSON responses ([ #2962 ] )
1111
1212[ #2962 ] : https://github.com/tokio-rs/axum/pull/2962
1313
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use serde::Serialize;
1313/// types as JSON from different branches inside a handler.
1414///
1515/// Like [`axum::Json`],
16- /// if the [`Serialize`] implementation decides to fail
16+ /// if the [`Serialize`] implementation fails
1717/// or if a map with non-string keys is used,
1818/// a 500 response will be issued
1919/// whose body is the error message in UTF-8.
@@ -87,7 +87,7 @@ impl IntoResponse for ErasedJson {
8787/// A `Content-Type: application/json` header is automatically added.
8888/// Any variable or expression implementing [`Serialize`]
8989/// can be interpolated as a value in the literal.
90- /// If the [`Serialize`] implementation decides to fail ,
90+ /// If the [`Serialize`] implementation fails ,
9191/// or if a map with non-string keys is used,
9292/// a 500 response will be issued
9393/// whose body is the error message in UTF-8.
You can’t perform that action at this time.
0 commit comments