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 {
10891089 /// Rust's aliasing rules. In particular, for the duration of this lifetime,
10901090 /// the memory the pointer points to must not get mutated (except inside `UnsafeCell`).
10911091 ///
1092- /// [here]: https://doc.rust-lang.org/std/ ptr/index.html #safety
1092+ /// [here]: crate:: ptr#safety
10931093 ///
10941094 /// # Examples
10951095 ///
@@ -1950,7 +1950,7 @@ impl<T: ?Sized> *mut T {
19501950 /// the memory this pointer points to must not get accessed (read or written)
19511951 /// through any other pointer.
19521952 ///
1953- /// [here]: https://doc.rust-lang.org/std/ ptr/index.html #safety
1953+ /// [here]: crate:: ptr#safety
19541954 /// [`as_ref`]: #method.as_ref
19551955 ///
19561956 /// # Examples
You can’t perform that action at this time.
0 commit comments