diff options
| author | est31 <MTest31@outlook.com> | 2021-06-01 05:04:48 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2021-06-01 05:04:48 +0200 |
| commit | a0228d9b877591d2b94484b1ff9d433e6f0a5d32 (patch) | |
| tree | f822cf4fb0f00695e32bdf454c9464fccf134ae5 | |
| parent | d2091147b16a1e3e1f9a73b6ee29fbe941c8abce (diff) | |
| download | rust-a0228d9b877591d2b94484b1ff9d433e6f0a5d32.tar.gz rust-a0228d9b877591d2b94484b1ff9d433e6f0a5d32.zip | |
Intra doc link-ify a reference to a function
| -rw-r--r-- | library/core/src/num/f32.rs | 4 | ||||
| -rw-r--r-- | library/core/src/num/f64.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/num/f32.rs b/library/core/src/num/f32.rs index 77132cddca2..c47a2e8b05c 100644 --- a/library/core/src/num/f32.rs +++ b/library/core/src/num/f32.rs @@ -727,8 +727,8 @@ impl f32 { /// /// This is currently identical to `transmute::<f32, u32>(self)` on all platforms. /// - /// See `from_bits` for some discussion of the portability of this operation - /// (there are almost no issues). + /// See [`from_bits`](Self::from_bits) for some discussion of the + /// portability of this operation (there are almost no issues). /// /// Note that this function is distinct from `as` casting, which attempts to /// preserve the *numeric* value, and not the bitwise value. diff --git a/library/core/src/num/f64.rs b/library/core/src/num/f64.rs index 4c3f1fd16a0..cfcc08b9add 100644 --- a/library/core/src/num/f64.rs +++ b/library/core/src/num/f64.rs @@ -741,8 +741,8 @@ impl f64 { /// /// This is currently identical to `transmute::<f64, u64>(self)` on all platforms. /// - /// See `from_bits` for some discussion of the portability of this operation - /// (there are almost no issues). + /// See [`from_bits`](Self::from_bits) for some discussion of the + /// portability of this operation (there are almost no issues). /// /// Note that this function is distinct from `as` casting, which attempts to /// preserve the *numeric* value, and not the bitwise value. |
