about summary refs log tree commit diff
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:39:10 -0400
committerdylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:39:10 -0400
commit1095dcab96d524e700b11edf366d45a0fd173fa0 (patch)
tree984d1bb89527e463886e2e0f42b28943c8107489
parent1ff7da6551a7cdf6ace2a9d00e92bbab550334ee (diff)
downloadrust-1095dcab96d524e700b11edf366d45a0fd173fa0.tar.gz
rust-1095dcab96d524e700b11edf366d45a0fd173fa0.zip
Fix links
-rw-r--r--library/core/src/ops/range.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs
index 6ad55786176..378aad5cb9e 100644
--- a/library/core/src/ops/range.rs
+++ b/library/core/src/ops/range.rs
@@ -739,8 +739,8 @@ pub trait RangeBounds<T: ?Sized> {
     /// The returned [`Range`] is safe to pass to [`slice::get_unchecked`] and
     /// [`slice::get_unchecked_mut`] for slices of the given length.
     ///
-    /// [`slice::get_unchecked`]: crate::slice::get_unchecked
-    /// [`slice::get_unchecked_mut`]: crate::slice::get_unchecked_mut
+    /// [`slice::get_unchecked`]: ../../std/primitive.slice.html#method.get_unchecked
+    /// [`slice::get_unchecked_mut`]: ../../std/primitive.slice.html#method.get_unchecked_mut
     ///
     /// # Panics
     ///