Skip to content

Commit 0574c1a

Browse files
authored
Update map.rs
1 parent 9725c4b commit 0574c1a

File tree

1 file changed

+8
-0
lines changed
  • library/alloc/src/collections/btree

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,6 +2670,8 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
26702670
/// Passing `Bound::Unbounded` will return a cursor pointing to the
26712671
/// gap before the smallest key in the map.
26722672
///
2673+
/// Represents the gap at the beginning of a range with the given bound as it's lower bound.
2674+
///
26732675
/// # Examples
26742676
///
26752677
/// ```
@@ -2723,6 +2725,8 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
27232725
/// Passing `Bound::Unbounded` will return a cursor pointing to the
27242726
/// gap before the smallest key in the map.
27252727
///
2728+
/// Represents the gap at the beginning of a range with the given bound as it's lower bound.
2729+
///
27262730
/// # Examples
27272731
///
27282732
/// ```
@@ -2793,6 +2797,8 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
27932797
/// Passing `Bound::Unbounded` will return a cursor pointing to the
27942798
/// gap after the greatest key in the map.
27952799
///
2800+
/// Represents the gap at the end of a range with the given bound as it's upper bound.
2801+
///
27962802
/// # Examples
27972803
///
27982804
/// ```
@@ -2846,6 +2852,8 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
28462852
/// Passing `Bound::Unbounded` will return a cursor pointing to the
28472853
/// gap after the greatest key in the map.
28482854
///
2855+
/// Represents the gap at the end of a range with the given bound as it's upper bound.
2856+
///
28492857
/// # Examples
28502858
///
28512859
/// ```

0 commit comments

Comments
 (0)