Address review comments
This commit is contained in:
parent
9057a6d66a
commit
65d47347ad
2 changed files with 4 additions and 4 deletions
|
@ -65,8 +65,8 @@ pub(super) const MIN_LEN: usize = node::MIN_LEN_AFTER_SPLIT;
|
||||||
/// incorrect results, aborts, memory leaks, or non-termination) but will not be undefined
|
/// incorrect results, aborts, memory leaks, or non-termination) but will not be undefined
|
||||||
/// behavior.
|
/// behavior.
|
||||||
///
|
///
|
||||||
/// Entries in a `BTreeMap` are stored in ascending order according to the [`Ord`] implementation on the key.
|
/// Iterators yielded by functions such as [`BTreeMap::iter`], [`BTreeMap::values`], or [`BTreeMap::keys`]
|
||||||
/// Thus, iteration methods are guaranteed to produce iterators that yield items in that order.
|
/// yield their items in order by key, and take worst-case logarithmic and amortized constant time per item yielded.
|
||||||
///
|
///
|
||||||
/// [B-Tree]: https://en.wikipedia.org/wiki/B-tree
|
/// [B-Tree]: https://en.wikipedia.org/wiki/B-tree
|
||||||
/// [`Cell`]: core::cell::Cell
|
/// [`Cell`]: core::cell::Cell
|
||||||
|
|
|
@ -27,8 +27,8 @@ use super::Recover;
|
||||||
/// incorrect results, aborts, memory leaks, or non-termination) but will not be undefined
|
/// incorrect results, aborts, memory leaks, or non-termination) but will not be undefined
|
||||||
/// behavior.
|
/// behavior.
|
||||||
///
|
///
|
||||||
/// Entries in a `BTreeSet` are stored in ascending order according to the [`Ord`] implementation on the key.
|
/// Iterators returned by [`BTreeSet::iter`] yield their items in order,
|
||||||
/// Thus, iteration methods are guaranteed to produce iterators that yield items in that order.
|
/// and take worst-case logarithmic and amortized constant time per item yielded.
|
||||||
///
|
///
|
||||||
/// [`Ord`]: core::cmp::Ord
|
/// [`Ord`]: core::cmp::Ord
|
||||||
/// [`Cell`]: core::cell::Cell
|
/// [`Cell`]: core::cell::Cell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue