From f11dd32f751b4a64bea0bdd0020879caec197d3f Mon Sep 17 00:00:00 2001 From: CreepySkeleton Date: Wed, 27 Nov 2019 21:36:09 +0300 Subject: Use intra-doc links --- src/libcore/ptr/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore') diff --git a/src/libcore/ptr/mod.rs b/src/libcore/ptr/mod.rs index 21314d429c6..1e051dbebca 100644 --- a/src/libcore/ptr/mod.rs +++ b/src/libcore/ptr/mod.rs @@ -1089,7 +1089,7 @@ impl *const T { /// Rust's aliasing rules. In particular, for the duration of this lifetime, /// the memory the pointer points to must not get mutated (except inside `UnsafeCell`). /// - /// [here]: https://doc.rust-lang.org/std/ptr/index.html#safety + /// [here]: crate::ptr#safety /// /// # Examples /// @@ -1950,7 +1950,7 @@ impl *mut T { /// the memory this pointer points to must not get accessed (read or written) /// through any other pointer. /// - /// [here]: https://doc.rust-lang.org/std/ptr/index.html#safety + /// [here]: crate::ptr#safety /// [`as_ref`]: #method.as_ref /// /// # Examples -- cgit 1.4.1-3-g733a5