mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Update library/alloc/src/collections/btree/map.rs
Co-authored-by: Joe ST <joe@fbstj.net>
This commit is contained in:
parent
8ee9693177
commit
166e348564
@ -2717,7 +2717,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
|
||||
///
|
||||
/// A `Cursor` is like an iterator, except that it can freely seek back-and-forth.
|
||||
///
|
||||
/// Cursors always point to a gao between two elements in the map, and can
|
||||
/// Cursors always point to a gap between two elements in the map, and can
|
||||
/// operate on the two immediately adjacent elements.
|
||||
///
|
||||
/// A `Cursor` is created with the [`BTreeMap::lower_bound`] and [`BTreeMap::upper_bound`] methods.
|
||||
|
Loading…
Reference in New Issue
Block a user