about summary refs log tree commit diff
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2020-08-06 14:14:29 -0400
committerdylni <46035563+dylni@users.noreply.github.com>2020-08-06 14:14:29 -0400
commited02b90e9b76b9ce2e8e99a99dbadd96ab4dfb42 (patch)
treefa0e0243c54152007327b716f1251d961b1d9e02
parent202b242d87c30c2fe1475342f9b93a8dfc65cd17 (diff)
downloadrust-ed02b90e9b76b9ce2e8e99a99dbadd96ab4dfb42.tar.gz
rust-ed02b90e9b76b9ce2e8e99a99dbadd96ab4dfb42.zip
Fix links again
-rw-r--r--library/core/src/slice/mod.rs3
-rw-r--r--src/tools/linkchecker/main.rs1
2 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index 8c6c0111c33..dafb3e44d75 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -356,7 +356,6 @@ impl<T> [T] {
     ///
     /// [`get_unchecked`]: #method.get_unchecked
     /// [`get_unchecked_mut`]: #method.get_unchecked_mut
-    /// [`Range`]: ops/struct.Range.html
     ///
     /// # Panics
     ///
@@ -393,7 +392,7 @@ impl<T> [T] {
     /// [10, 40, 30].check_range(1..=usize::MAX);
     /// ```
     ///
-    /// [`Index::index`]: ops/trait.Index.html#tymethod.index
+    /// [`Index::index`]: ops::Index::index
     #[track_caller]
     #[unstable(feature = "slice_check_range", issue = "none")]
     pub fn check_range<R: RangeBounds<usize>>(&self, range: R) -> Range<usize> {
diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs
index 194318d7a59..20a56ae5b9d 100644
--- a/src/tools/linkchecker/main.rs
+++ b/src/tools/linkchecker/main.rs
@@ -39,6 +39,7 @@ const LINKCHECK_EXCEPTIONS: &[(&str, &[&str])] = &[
             "#method.sort_by_key",
             "#method.make_ascii_uppercase",
             "#method.make_ascii_lowercase",
+            "#method.get_unchecked_mut",
         ],
     ),
     // These try to link to std::collections, but are defined in alloc