Skip to content

Commit

Permalink
Update library/alloc/src/collections/btree/map.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Joe ST <[email protected]>
  • Loading branch information
Amanieu and fbstj authored Nov 23, 2023
1 parent 8ee9693 commit 166e348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 166e348

Please sign in to comment.