Skip to content

Commit

Permalink
Fix some uses of "map" instead of "set" in BTreeSet cursor API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmicklas committed Aug 1, 2024
1 parent 07f64a8 commit 8835b0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions alloc/src/collections/btree/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
/// gap before the smallest element greater than `x`.
///
/// Passing `Bound::Unbounded` will return a cursor pointing to the
/// gap before the smallest element in the map.
/// gap before the smallest element in the set.
///
/// # Examples
///
Expand Down Expand Up @@ -1237,7 +1237,7 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
/// gap before the smallest element greater than `x`.
///
/// Passing `Bound::Unbounded` will return a cursor pointing to the
/// gap before the smallest element in the map.
/// gap before the smallest element in the set.
///
/// # Examples
///
Expand Down Expand Up @@ -1280,7 +1280,7 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
/// gap after the greatest element smaller than `x`.
///
/// Passing `Bound::Unbounded` will return a cursor pointing to the
/// gap after the greatest element in the map.
/// gap after the greatest element in the set.
///
/// # Examples
///
Expand Down Expand Up @@ -1323,7 +1323,7 @@ impl<T, A: Allocator + Clone> BTreeSet<T, A> {
/// gap after the greatest element smaller than `x`.
///
/// Passing `Bound::Unbounded` will return a cursor pointing to the
/// gap after the greatest element in the map.
/// gap after the greatest element in the set.
///
/// # Examples
///
Expand Down

0 comments on commit 8835b0f

Please sign in to comment.