Fix link to serde::Deserialize (#2498)

This commit is contained in:
Yann Simon
2024-01-09 16:25:17 +00:00
committed by GitHub
parent 5b6204168a
commit f7c4cd883a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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)
+1 -1
View File
@@ -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.