Skip to content

Commit 0a5d581

Browse files
committed
Fix links again
1 parent 2a4e687 commit 0a5d581

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/slice/mod.rs

Lines changed: 1 addition & 2 deletions
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> {

0 commit comments

Comments
 (0)