diff options
| author | CreepySkeleton <creepy-skeleton@yandex.ru> | 2019-11-27 21:36:09 +0300 |
|---|---|---|
| committer | CreepySkeleton <creepy-skeleton@yandex.ru> | 2019-11-27 21:36:09 +0300 |
| commit | f11dd32f751b4a64bea0bdd0020879caec197d3f (patch) | |
| tree | 84529545d40048450aba65449fb08cf4acd93df3 /src/libcore/ptr | |
| parent | d411dd27bf391ca8da15a43341ad519a741b2e2a (diff) | |
| download | rust-f11dd32f751b4a64bea0bdd0020879caec197d3f.tar.gz rust-f11dd32f751b4a64bea0bdd0020879caec197d3f.zip | |
Use intra-doc links
Diffstat (limited to 'src/libcore/ptr')
| -rw-r--r-- | src/libcore/ptr/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<T: ?Sized> *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<T: ?Sized> *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 |
