We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e21d771 commit 3fee843Copy full SHA for 3fee843
library/alloc/src/collections/btree/dedup_sorted_iter.rs
@@ -3,7 +3,9 @@ use core::iter::Peekable;
3
/// A iterator for deduping the key of a sorted iterator.
4
/// When encountering the duplicated key, only the last key-value pair is yielded.
5
///
6
-/// Used by [`BTreeMap::bulk_build_from_sorted_iter`].
+/// Used by [`BTreeMap::bulk_build_from_sorted_iter`][1].
7
+///
8
+/// [1]: crate::collections::BTreeMap::bulk_build_from_sorted_iter
9
pub struct DedupSortedIter<K, V, I>
10
where
11
I: Iterator<Item = (K, V)>,
0 commit comments