Skip to content

Commit 5f1d462

Browse files
authored
Update set.rs
1 parent 0574c1a commit 5f1d462

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/set.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,8 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
13091309
/// Passing `Bound::Unbounded` will return a cursor pointing to the
13101310
/// gap before the smallest element in the set.
13111311
///
1312+
/// Represents the gap at the beginning of a range with the given bound as it's lower bound.
1313+
///
13121314
/// # Examples
13131315
///
13141316
/// ```
@@ -1352,6 +1354,8 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
13521354
/// Passing `Bound::Unbounded` will return a cursor pointing to the
13531355
/// gap before the smallest element in the set.
13541356
///
1357+
/// Represents the gap at the beginning of a range with the given bound as it's lower bound.
1358+
///
13551359
/// # Examples
13561360
///
13571361
/// ```
@@ -1395,6 +1399,8 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
13951399
/// Passing `Bound::Unbounded` will return a cursor pointing to the
13961400
/// gap after the greatest element in the set.
13971401
///
1402+
/// Represents the gap at the end of a range with the given bound as it's upper bound.
1403+
///
13981404
/// # Examples
13991405
///
14001406
/// ```
@@ -1438,6 +1444,8 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
14381444
/// Passing `Bound::Unbounded` will return a cursor pointing to the
14391445
/// gap after the greatest element in the set.
14401446
///
1447+
/// Represents the gap at the end of a range with the given bound as it's upper bound.
1448+
///
14411449
/// # Examples
14421450
///
14431451
/// ```

0 commit comments

Comments
 (0)