Skip to content

Commit 42b03b4

Browse files
committed
Fix broken docstring links
1 parent d996ac3 commit 42b03b4

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
//! * `serde`: Adds implementations for [`Serialize`] and [`Deserialize`]
4040
//! to [`IndexMap`] and [`IndexSet`]. Alternative implementations for
4141
//! (de)serializing [`IndexMap`] as an ordered sequence are available in the
42-
//! [`serde_seq`] module.
42+
//! [`map::serde_seq`] module.
4343
//!
4444
//! _Note: only the `std` feature is enabled by default._
4545
//!

src/map.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,6 @@ where
11181118

11191119
#[cfg(feature = "std")]
11201120
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
1121-
11221121
impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V, RandomState>
11231122
where
11241123
K: Hash + Eq,

src/map/serde_seq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use crate::IndexMap;
3131

3232
/// Serializes a `map::Slice` as an ordered sequence.
3333
///
34-
/// This behaves like [`crate::serde_seq`] for `IndexMap`, serializing a sequence
34+
/// This behaves like [`crate::map::serde_seq`] for `IndexMap`, serializing a sequence
3535
/// of `(key, value)` pairs, rather than as a map that might not preserve order.
3636
impl<K, V> Serialize for MapSlice<K, V>
3737
where

0 commit comments

Comments
 (0)