diff --git a/serde_with/src/enum_map.rs b/serde_with/src/enum_map.rs index cfa6ca56..048a6af5 100644 --- a/serde_with/src/enum_map.rs +++ b/serde_with/src/enum_map.rs @@ -393,7 +393,7 @@ where /// Serialize a single element but turn the sequence into a map logic. /// -/// It uses [`SerializeEnumAsMapElement`] for the map element serialization. +/// It uses [`EnumAsMapElementSerializer`] for the map element serialization. /// /// The [`Serializer`] implementation handles all the `serialize_*_variant` functions and defers to [`SerializeVariant`] for the more complicated tuple and struct variants. struct SerializeSeqElement { diff --git a/serde_with/src/hex.rs b/serde_with/src/hex.rs index cc0c184e..e52c6f3d 100644 --- a/serde_with/src/hex.rs +++ b/serde_with/src/hex.rs @@ -12,7 +12,7 @@ use crate::prelude::*; /// It works on any type implementing `AsRef<[u8]>` for serialization and `TryFrom>` for deserialization. /// /// The format type parameter specifies if the hex string should use lower- or uppercase characters. -/// Valid options are the types [`Lowercase`] and [`Uppercase`]. +/// Valid options are the types [`formats::Lowercase`] and [`formats::Uppercase`]. /// Deserialization always supports lower- and uppercase characters, even mixed in one string. /// /// # Example diff --git a/serde_with/src/lib.rs b/serde_with/src/lib.rs index b6c30936..787745af 100644 --- a/serde_with/src/lib.rs +++ b/serde_with/src/lib.rs @@ -491,7 +491,7 @@ pub struct Same; /// support, which can be found in some crates. /// /// If you control the type you want to de/serialize, you can instead use the two derive macros, [`SerializeDisplay`] and [`DeserializeFromStr`]. -/// They properly implement the traits [`Serialize`] and [`Deserialize`] such that user of the type no longer have to use the `serde_as` system. +/// They properly implement the traits [`serde::Serialize`] and [`serde::Deserialize`] such that user of the type no longer have to use the `serde_as` system. /// /// # Examples ///