aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-07-18 14:48:52 +0700
committerGitHub <noreply@github.com>2024-07-18 09:48:52 +0200
commit9abf6fb7cc39d0b41daccfff1f70b63303ed4548 (patch)
tree31aee5dc65b00b447d910327b536e03be95afb4c
parent850aa31166ce6038d5055225c34ab60f8bff408d (diff)
downloadrapier-9abf6fb7cc39d0b41daccfff1f70b63303ed4548.tar.gz
rapier-9abf6fb7cc39d0b41daccfff1f70b63303ed4548.tar.bz2
rapier-9abf6fb7cc39d0b41daccfff1f70b63303ed4548.zip
Fix `rustdoc::broken_intra_doc_links` (#688)
These show up when the `serde_serialize` feature is enabled.
-rw-r--r--src/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 84acb21..f0c1a24 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -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>,