File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl<T: ?Sized> *const T {
51
51
/// Casts a pointer to its raw bits.
52
52
///
53
53
/// This is equivalent to `as usize`, but is more specific to enhance readability.
54
- /// The inverse method is [`Self:: from_bits`].
54
+ /// The inverse method is [`from_bits`](#method.from_bits) .
55
55
///
56
56
/// In particular, `*p as usize` and `p as usize` will both compile for
57
57
/// pointers to numeric types but do very different things, so using this
@@ -78,7 +78,7 @@ impl<T: ?Sized> *const T {
78
78
/// Creates a pointer from its raw bits.
79
79
///
80
80
/// This is equivalent to `as *const T`, but is more specific to enhance readability.
81
- /// The inverse method is [`Self:: to_bits`].
81
+ /// The inverse method is [`to_bits`](#method.to_bits) .
82
82
///
83
83
/// # Examples
84
84
///
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl<T: ?Sized> *mut T {
50
50
/// Casts a pointer to its raw bits.
51
51
///
52
52
/// This is equivalent to `as usize`, but is more specific to enhance readability.
53
- /// The inverse method is [`Self:: from_bits`].
53
+ /// The inverse method is [`from_bits`](#method.from_bits-1) .
54
54
///
55
55
/// In particular, `*p as usize` and `p as usize` will both compile for
56
56
/// pointers to numeric types but do very different things, so using this
@@ -78,7 +78,7 @@ impl<T: ?Sized> *mut T {
78
78
/// Creates a pointer from its raw bits.
79
79
///
80
80
/// This is equivalent to `as *mut T`, but is more specific to enhance readability.
81
- /// The inverse method is [`Self:: to_bits`].
81
+ /// The inverse method is [`to_bits`](#method.to_bits-1) .
82
82
///
83
83
/// # Examples
84
84
///
You can’t perform that action at this time.
0 commit comments