about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-15 23:46:26 +0200
committerRalf Jung <post@ralfj.de>2020-09-15 23:46:26 +0200
commit7d67546a6ade5c1ade4b8e66266411f7aa4fae69 (patch)
treea1f317a6531d8dfebf99ca2d4d2b43514168e1e1
parentc528d2419672bd4ace322ddbc000813a12c1d4c7 (diff)
downloadrust-7d67546a6ade5c1ade4b8e66266411f7aa4fae69.tar.gz
rust-7d67546a6ade5c1ade4b8e66266411f7aa4fae69.zip
hopefully fix rustdoc links
-rw-r--r--library/core/src/slice/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/index.rs b/library/core/src/slice/index.rs
index a662d9682c5..16fcb6231dc 100644
--- a/library/core/src/slice/index.rs
+++ b/library/core/src/slice/index.rs
@@ -105,7 +105,7 @@ pub(super) fn slice_end_index_overflow_fail() -> ! {
 /// std::slice::check_range(3, 1..=usize::MAX);
 /// ```
 ///
-/// [`Index::index`]: crate::ops::Index::index
+/// [`Index::index`]: ops::Index::index
 #[track_caller]
 #[unstable(feature = "slice_check_range", issue = "76393")]
 pub fn check_range<R: RangeBounds<usize>>(len: usize, range: R) -> Range<usize> {