File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1089,7 +1089,7 @@ impl<T: ?Sized> *const T {
1089
1089
/// Rust's aliasing rules. In particular, for the duration of this lifetime,
1090
1090
/// the memory the pointer points to must not get mutated (except inside `UnsafeCell`).
1091
1091
///
1092
- /// [here]: https://doc.rust-lang.org/std/ ptr/index.html #safety
1092
+ /// [here]: crate:: ptr#safety
1093
1093
///
1094
1094
/// # Examples
1095
1095
///
@@ -1950,7 +1950,7 @@ impl<T: ?Sized> *mut T {
1950
1950
/// the memory this pointer points to must not get accessed (read or written)
1951
1951
/// through any other pointer.
1952
1952
///
1953
- /// [here]: https://doc.rust-lang.org/std/ ptr/index.html #safety
1953
+ /// [here]: crate:: ptr#safety
1954
1954
/// [`as_ref`]: #method.as_ref
1955
1955
///
1956
1956
/// # Examples
You can’t perform that action at this time.
0 commit comments