Skip to content

Commit ed02b90

Browse files
committed
Fix links again
1 parent 202b242 commit ed02b90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/slice/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ impl<T> [T] {
356356
///
357357
/// [`get_unchecked`]: #method.get_unchecked
358358
/// [`get_unchecked_mut`]: #method.get_unchecked_mut
359-
/// [`Range`]: ops/struct.Range.html
360359
///
361360
/// # Panics
362361
///
@@ -393,7 +392,7 @@ impl<T> [T] {
393392
/// [10, 40, 30].check_range(1..=usize::MAX);
394393
/// ```
395394
///
396-
/// [`Index::index`]: ops/trait.Index.html#tymethod.index
395+
/// [`Index::index`]: ops::Index::index
397396
#[track_caller]
398397
#[unstable(feature = "slice_check_range", issue = "none")]
399398
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {

src/tools/linkchecker/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
3939
"#method.sort_by_key",
4040
"#method.make_ascii_uppercase",
4141
"#method.make_ascii_lowercase",
42+
"#method.get_unchecked_mut",
4243
],
4344
),
4445
// These try to link to std::collections, but are defined in alloc

0 commit comments

Comments
 (0)