Skip to content

Commit 7d67546

Browse files
committed
hopefully fix rustdoc links
1 parent c528d24 commit 7d67546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub(super) fn slice_end_index_overflow_fail() -> ! {
105105
/// std::slice::check_range(3, 1..=usize::MAX);
106106
/// ```
107107
///
108-
/// [`Index::index`]: crate::ops::Index::index
108+
/// [`Index::index`]: ops::Index::index
109109
#[track_caller]
110110
#[unstable(feature = "slice_check_range", issue = "76393")]
111111
pub fn check_range<R: RangeBounds<usize>>(len: usize, range: R) -> Range<usize> {

0 commit comments

Comments
 (0)