Skip to content

Commit 723b069

Browse files
committed
link BTreeMap using absolute path for the moment
`Bound` is exported as `std::ops::Bound` and `alloc::Bound`, cann't use an uniform relative path to link `BTreeMap` from here.
1 parent dd30121 commit 723b069

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/ops/range.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ impl<Idx: PartialOrd<Idx>> RangeToInclusive<Idx> {
417417
/// assert_eq!(Some((&3, &"a")), map.range((Unbounded, Included(5))).next());
418418
/// ```
419419
///
420-
/// [`BTreeMap::range`]: ../std/collections/struct.BTreeMap.html#method.range
420+
/// [`BTreeMap::range`]:
421+
/// https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.range
421422
#[stable(feature = "collections_bound", since = "1.17.0")]
422423
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
423424
pub enum Bound<T> {

0 commit comments

Comments
 (0)