File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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 {
5151 /// Casts a pointer to its raw bits.
5252 ///
5353 /// 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) .
5555 ///
5656 /// In particular, `*p as usize` and `p as usize` will both compile for
5757 /// pointers to numeric types but do very different things, so using this
@@ -78,7 +78,7 @@ impl<T: ?Sized> *const T {
7878 /// Creates a pointer from its raw bits.
7979 ///
8080 /// 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) .
8282 ///
8383 /// # Examples
8484 ///
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ impl<T: ?Sized> *mut T {
5050 /// Casts a pointer to its raw bits.
5151 ///
5252 /// 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) .
5454 ///
5555 /// In particular, `*p as usize` and `p as usize` will both compile for
5656 /// pointers to numeric types but do very different things, so using this
@@ -78,7 +78,7 @@ impl<T: ?Sized> *mut T {
7878 /// Creates a pointer from its raw bits.
7979 ///
8080 /// 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) .
8282 ///
8383 /// # Examples
8484 ///
You can’t perform that action at this time.
0 commit comments