Skip to content

Commit

Permalink
Update axum-extra/src/extract/json_deserializer.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Platte <[email protected]>
  • Loading branch information
yanns and jplatte authored Jan 9, 2024
1 parent 1dc9ef4 commit fdf57bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum-extra/src/extract/json_deserializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::marker::PhantomData;

/// JSON Extractor for zero-copy deserialization.
///
/// Deserialize request bodies into some type that implements [`serde::Deserialize<'de>`](`serde::Deserialize`).
/// Deserialize request bodies into some type that implements [`serde::Deserialize<'de>`][serde::Deserialize].
/// Parsing JSON is delayed until [`deserialize`](JsonDeserializer::deserialize) is called.
/// If the type implements [`serde::de::DeserializeOwned`], the [`Json`](axum::Json) extractor should
/// be preferred.
Expand Down

0 comments on commit fdf57bb

Please sign in to comment.