mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-30 06:21:56 +00:00
Fix link in serde docs
This commit is contained in:
parent
d147e9a215
commit
8dfec7ab53
@ -478,12 +478,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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user