Skip to content

Commit f34d9da

Browse files
committed
fix intra-doc links
1 parent f415339 commit f34d9da

File tree

1 file changed

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

1 file changed

+12
-12
lines changed

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -2525,13 +2525,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
25252525
/// Returns a [`Cursor`] pointing at the gap before the smallest key
25262526
/// greater than the given bound.
25272527
///
2528-
/// Passing [`Bound::Included(x)`] will return a cursor pointing to the
2528+
/// Passing `Bound::Included(x)` will return a cursor pointing to the
25292529
/// gap before the smallest key greater than or equal to `x`.
25302530
///
2531-
/// Passing [`Bound::Excluded(x)`] will return a cursor pointing to the
2531+
/// Passing `Bound::Excluded(x)` will return a cursor pointing to the
25322532
/// gap before the smallest key greater than `x`.
25332533
///
2534-
/// Passing [`Bound::Unbounded`] will return a cursor pointing to the
2534+
/// Passing `Bound::Unbounded` will return a cursor pointing to the
25352535
/// gap before the smallest key in the map.
25362536
///
25372537
/// # Examples
@@ -2578,13 +2578,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
25782578
/// Returns a [`CursorMut`] pointing at the gap before the smallest key
25792579
/// greater than the given bound.
25802580
///
2581-
/// Passing [`Bound::Included(x)`] will return a cursor pointing to the
2581+
/// Passing `Bound::Included(x)` will return a cursor pointing to the
25822582
/// gap before the smallest key greater than or equal to `x`.
25832583
///
2584-
/// Passing [`Bound::Excluded(x)`] will return a cursor pointing to the
2584+
/// Passing `Bound::Excluded(x)` will return a cursor pointing to the
25852585
/// gap before the smallest key greater than `x`.
25862586
///
2587-
/// Passing [`Bound::Unbounded`] will return a cursor pointing to the
2587+
/// Passing `Bound::Unbounded` will return a cursor pointing to the
25882588
/// gap before the smallest key in the map.
25892589
///
25902590
/// # Examples
@@ -2648,13 +2648,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
26482648
/// Returns a [`Cursor`] pointing at the gap after the greatest key
26492649
/// smaller than the given bound.
26502650
///
2651-
/// Passing [`Bound::Included(x)`] will return a cursor pointing to the
2651+
/// Passing `Bound::Included(x)` will return a cursor pointing to the
26522652
/// gap after the greatest key smaller than or equal to `x`.
26532653
///
2654-
/// Passing [`Bound::Excluded(x)`] will return a cursor pointing to the
2654+
/// Passing `Bound::Excluded(x)` will return a cursor pointing to the
26552655
/// gap after the greatest key smaller than `x`.
26562656
///
2657-
/// Passing [`Bound::Unbounded`] will return a cursor pointing to the
2657+
/// Passing `Bound::Unbounded` will return a cursor pointing to the
26582658
/// gap after the greatest key in the map.
26592659
///
26602660
/// # Examples
@@ -2701,13 +2701,13 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
27012701
/// Returns a [`CursorMut`] pointing at the gap after the greatest key
27022702
/// smaller than the given bound.
27032703
///
2704-
/// Passing [`Bound::Included(x)`] will return a cursor pointing to the
2704+
/// Passing `Bound::Included(x)` will return a cursor pointing to the
27052705
/// gap after the greatest key smaller than or equal to `x`.
27062706
///
2707-
/// Passing [`Bound::Excluded(x)`] will return a cursor pointing to the
2707+
/// Passing `Bound::Excluded(x)` will return a cursor pointing to the
27082708
/// gap after the greatest key smaller than `x`.
27092709
///
2710-
/// Passing [`Bound::Unbounded`] will return a cursor pointing to the
2710+
/// Passing `Bound::Unbounded` will return a cursor pointing to the
27112711
/// gap after the greatest key in the map.
27122712
///
27132713
/// # Examples

0 commit comments

Comments
 (0)