Skip to content

Commit 166e348

Browse files
Amanieufbstj
andauthored
Update library/alloc/src/collections/btree/map.rs
Co-authored-by: Joe ST <joe@fbstj.net>
1 parent 8ee9693 commit 166e348

File tree

1 file changed

+1
-1
lines changed
  • library/alloc/src/collections/btree

1 file changed

+1
-1
lines changed

library/alloc/src/collections/btree/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
27172717
///
27182718
/// A `Cursor` is like an iterator, except that it can freely seek back-and-forth.
27192719
///
2720-
/// Cursors always point to a gao between two elements in the map, and can
2720+
/// Cursors always point to a gap between two elements in the map, and can
27212721
/// operate on the two immediately adjacent elements.
27222722
///
27232723
/// A `Cursor` is created with the [`BTreeMap::lower_bound`] and [`BTreeMap::upper_bound`] methods.

0 commit comments

Comments
 (0)