From ada0629bb45cf08e9ff72f0ac18fe5eb43d628cb Mon Sep 17 00:00:00 2001 From: Jonas Heylen Date: Tue, 22 Nov 2022 21:32:19 +0100 Subject: [PATCH] Fix link in serde docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d5f1fa8405..336e18751d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -508,12 +508,12 @@ pub use naive::__BenchYearFlags; /// Serialization/Deserialization with serde. /// /// This module provides default implementations for `DateTime` using the [RFC 3339][1] format and various -/// alternatives for use with serde's [`with` annotation][1]. +/// alternatives for use with serde's [`with` annotation][2]. /// /// *Available on crate feature 'serde' only.* /// /// [1]: https://tools.ietf.org/html/rfc3339 -/// [2]: https://serde.rs/attributes.html#field-attributes +/// [2]: https://serde.rs/field-attrs.html#with #[cfg(feature = "serde")] #[cfg_attr(docsrs, doc(cfg(feature = "serde")))] pub mod serde {