Fix rustdoc::broken_intra_doc_links (#688)

These show up when the `serde_serialize` feature is enabled.
This commit is contained in:
Bruce Mitchener
2024-07-18 14:48:52 +07:00
committed by GitHub
parent 850aa31166
commit 9abf6fb7cc

View File

@@ -677,7 +677,7 @@ pub mod serde {
/// Serializes to a `Vec<(K, V)>`.
///
/// Useful for [`std::collections::HashMap`] with a non-string key,
/// which is unsupported by [`serde_json`].
/// which is unsupported by [`serde_json`](https://docs.rs/serde_json/).
pub fn serialize_to_vec_tuple<
'a,
S: serde::Serializer,
@@ -695,7 +695,7 @@ pub mod serde {
/// Deserializes from a `Vec<(K, V)>`.
///
/// Useful for [`std::collections::HashMap`] with a non-string key,
/// which is unsupported by [`serde_json`].
/// which is unsupported by [`serde_json`](https://docs.rs/serde_json/).
pub fn deserialize_from_vec_tuple<
'de,
D: serde::Deserializer<'de>,