Skip to content

Commit f11dd32

Browse files
Use intra-doc links
1 parent d411dd2 commit f11dd32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ptr/mod.rs

+2-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)