File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3737- ** breaking:** The ` Body ` and ` BodyError ` associated types on the
3838 ` IntoResponse ` trait have been removed - instead, ` .into_response() ` will now
3939 always return ` Response<BoxBody> ` ([ #571 ] )
40- - ** breaking:** The variants of ` Path ` 's rejection type has been renamed ([ #574 ] )
40+ - ** breaking:** The variants of ` Path ` 's rejection type have been renamed ([ #574 ] )
4141- ** added:** ` Path ` 's rejection type now provides data about exactly which part of
4242 the path couldn't be deserialized ([ #574 ] )
4343
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ use std::{
130130/// # Providing detailed rejection output
131131///
132132/// If the URI cannot be deserialized into the target type the request will be rejected and an
133- /// error response will be returned. See [`customize-path-rejection`] for an exapmle of how to customize that error.
133+ /// error response will be returned. See [`customize-path-rejection`] for an example of how to customize that error.
134134///
135135/// [`serde`]: https://crates.io/crates/serde
136136/// [`serde::Deserialize`]: https://docs.rs/serde/1.0.127/serde/trait.Deserialize.html
@@ -252,7 +252,7 @@ impl fmt::Display for PathDeserializationError {
252252
253253impl std:: error:: Error for PathDeserializationError { }
254254
255- /// The kinds of errors that can happen we deserializing into a [`Path`].
255+ /// The kinds of errors that can happen when deserializing into a [`Path`].
256256///
257257/// This type is obtained through [`FailedToDeserializePathParams::into_kind`] and is useful for building
258258/// more precise error messages.
You can’t perform that action at this time.
0 commit comments