Skip to content

Commit

Permalink
Fix link to serde::Deserialize (#2498)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanns committed Jan 9, 2024
1 parent 5b62041 commit f7c4cd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions axum-extra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning].
# Unreleased

- **added:** Implement `TypedPath` for `WithRejection<TypedPath, _>`
- **fixed:** Documentation link to `serde::Deserialize` in `JsonDeserializer` extractor ([#2498])

[#2498]: https://github.com/tokio-rs/axum/pull/2498

# 0.9.1 (29. December, 2023)

Expand Down
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>`].
/// 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 f7c4cd8

Please sign in to comment.