mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
Fix internal doc link
The doc link from `DedupSortedIter` to `BTreeMap::bulk_build_from_sorted_iter` was broken when building internal documentation,
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
/// A iterator for deduping the key of a sorted iterator.
|
||||
/// When encountering the duplicated key, only the last key-value pair is yielded.
|
||||
///
|
||||
/// Used by [`BTreeMap::bulk_build_from_sorted_iter`].
|
||||
/// Used by [`BTreeMap::bulk_build_from_sorted_iter`][1].
|
||||
///
|
||||
/// [1]: crate::collections::BTreeMap::bulk_build_from_sorted_iter
|
||||
pub struct DedupSortedIter<K, V, I>
|
||||
where
|
||||
I: Iterator<Item = (K, V)>,
|
||||
|
||||
Reference in New Issue
Block a user