@@ -2525,13 +2525,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
2525
2525
/// Returns a [`Cursor`] pointing at the gap before the smallest key
2526
2526
/// greater than the given bound.
2527
2527
///
2528
- /// Passing [ `Bound::Included(x)`] will return a cursor pointing to the
2528
+ /// Passing `Bound::Included(x)` will return a cursor pointing to the
2529
2529
/// gap before the smallest key greater than or equal to `x`.
2530
2530
///
2531
- /// Passing [ `Bound::Excluded(x)`] will return a cursor pointing to the
2531
+ /// Passing `Bound::Excluded(x)` will return a cursor pointing to the
2532
2532
/// gap before the smallest key greater than `x`.
2533
2533
///
2534
- /// Passing [ `Bound::Unbounded`] will return a cursor pointing to the
2534
+ /// Passing `Bound::Unbounded` will return a cursor pointing to the
2535
2535
/// gap before the smallest key in the map.
2536
2536
///
2537
2537
/// # Examples
@@ -2578,13 +2578,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
2578
2578
/// Returns a [`CursorMut`] pointing at the gap before the smallest key
2579
2579
/// greater than the given bound.
2580
2580
///
2581
- /// Passing [ `Bound::Included(x)`] will return a cursor pointing to the
2581
+ /// Passing `Bound::Included(x)` will return a cursor pointing to the
2582
2582
/// gap before the smallest key greater than or equal to `x`.
2583
2583
///
2584
- /// Passing [ `Bound::Excluded(x)`] will return a cursor pointing to the
2584
+ /// Passing `Bound::Excluded(x)` will return a cursor pointing to the
2585
2585
/// gap before the smallest key greater than `x`.
2586
2586
///
2587
- /// Passing [ `Bound::Unbounded`] will return a cursor pointing to the
2587
+ /// Passing `Bound::Unbounded` will return a cursor pointing to the
2588
2588
/// gap before the smallest key in the map.
2589
2589
///
2590
2590
/// # Examples
@@ -2648,13 +2648,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
2648
2648
/// Returns a [`Cursor`] pointing at the gap after the greatest key
2649
2649
/// smaller than the given bound.
2650
2650
///
2651
- /// Passing [ `Bound::Included(x)`] will return a cursor pointing to the
2651
+ /// Passing `Bound::Included(x)` will return a cursor pointing to the
2652
2652
/// gap after the greatest key smaller than or equal to `x`.
2653
2653
///
2654
- /// Passing [ `Bound::Excluded(x)`] will return a cursor pointing to the
2654
+ /// Passing `Bound::Excluded(x)` will return a cursor pointing to the
2655
2655
/// gap after the greatest key smaller than `x`.
2656
2656
///
2657
- /// Passing [ `Bound::Unbounded`] will return a cursor pointing to the
2657
+ /// Passing `Bound::Unbounded` will return a cursor pointing to the
2658
2658
/// gap after the greatest key in the map.
2659
2659
///
2660
2660
/// # Examples
@@ -2701,13 +2701,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
2701
2701
/// Returns a [`CursorMut`] pointing at the gap after the greatest key
2702
2702
/// smaller than the given bound.
2703
2703
///
2704
- /// Passing [ `Bound::Included(x)`] will return a cursor pointing to the
2704
+ /// Passing `Bound::Included(x)` will return a cursor pointing to the
2705
2705
/// gap after the greatest key smaller than or equal to `x`.
2706
2706
///
2707
- /// Passing [ `Bound::Excluded(x)`] will return a cursor pointing to the
2707
+ /// Passing `Bound::Excluded(x)` will return a cursor pointing to the
2708
2708
/// gap after the greatest key smaller than `x`.
2709
2709
///
2710
- /// Passing [ `Bound::Unbounded`] will return a cursor pointing to the
2710
+ /// Passing `Bound::Unbounded` will return a cursor pointing to the
2711
2711
/// gap after the greatest key in the map.
2712
2712
///
2713
2713
/// # Examples
0 commit comments