We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d411dd2 commit f11dd32Copy full SHA for f11dd32
src/libcore/ptr/mod.rs
@@ -1089,7 +1089,7 @@ impl<T: ?Sized> *const T {
1089
/// Rust's aliasing rules. In particular, for the duration of this lifetime,
1090
/// the memory the pointer points to must not get mutated (except inside `UnsafeCell`).
1091
///
1092
- /// [here]: https://doc.rust-lang.org/std/ptr/index.html#safety
+ /// [here]: crate::ptr#safety
1093
1094
/// # Examples
1095
@@ -1950,7 +1950,7 @@ impl<T: ?Sized> *mut T {
1950
/// the memory this pointer points to must not get accessed (read or written)
1951
/// through any other pointer.
1952
1953
1954
/// [`as_ref`]: #method.as_ref
1955
1956
0 commit comments