We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb70e52 commit 202b242Copy full SHA for 202b242
library/core/src/slice/mod.rs
@@ -356,7 +356,7 @@ impl<T> [T] {
356
///
357
/// [`get_unchecked`]: #method.get_unchecked
358
/// [`get_unchecked_mut`]: #method.get_unchecked_mut
359
- /// [`Range`]: ../ops/struct.Range.html
+ /// [`Range`]: ops/struct.Range.html
360
361
/// # Panics
362
@@ -393,7 +393,7 @@ impl<T> [T] {
393
/// [10, 40, 30].check_range(1..=usize::MAX);
394
/// ```
395
396
- /// [`Index::index`]: ../ops/trait.Index.html#tymethod.index
+ /// [`Index::index`]: ops/trait.Index.html#tymethod.index
397
#[track_caller]
398
#[unstable(feature = "slice_check_range", issue = "none")]
399
pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {
0 commit comments