Skip to content

Commit 202b242

Browse files
committed
Fix links
1 parent bb70e52 commit 202b242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/slice/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ impl<T> [T] {
356356
///
357357
/// [`get_unchecked`]: #method.get_unchecked
358358
/// [`get_unchecked_mut`]: #method.get_unchecked_mut
359-
/// [`Range`]: ../ops/struct.Range.html
359+
/// [`Range`]: ops/struct.Range.html
360360
///
361361
/// # Panics
362362
///
@@ -393,7 +393,7 @@ impl<T> [T] {
393393
/// [10, 40, 30].check_range(1..=usize::MAX);
394394
/// ```
395395
///
396-
/// [`Index::index`]: ../ops/trait.Index.html#tymethod.index
396+
/// [`Index::index`]: ops/trait.Index.html#tymethod.index
397397
#[track_caller]
398398
#[unstable(feature = "slice_check_range", issue = "none")]
399399
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {

0 commit comments

Comments
 (0)