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:
parent
e21d771b9c
commit
3fee843ebb
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ use core::iter::Peekable;
|
||||||
/// A iterator for deduping the key of a sorted iterator.
|
/// A iterator for deduping the key of a sorted iterator.
|
||||||
/// When encountering the duplicated key, only the last key-value pair is yielded.
|
/// 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>
|
pub struct DedupSortedIter<K, V, I>
|
||||||
where
|
where
|
||||||
I: Iterator<Item = (K, V)>,
|
I: Iterator<Item = (K, V)>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue