Skip to content

Commit bd18686

Browse files
authored
Rollup merge of #85877 - est31:intra_doc_links, r=jyn514
Intra doc link-ify a reference to a function
2 parents ff0b7cd + a0228d9 commit bd18686

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library/core/src/num/f32.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,8 @@ impl f32 {
727727
///
728728
/// This is currently identical to `transmute::<f32, u32>(self)` on all platforms.
729729
///
730-
/// See `from_bits` for some discussion of the portability of this operation
731-
/// (there are almost no issues).
730+
/// See [`from_bits`](Self::from_bits) for some discussion of the
731+
/// portability of this operation (there are almost no issues).
732732
///
733733
/// Note that this function is distinct from `as` casting, which attempts to
734734
/// preserve the *numeric* value, and not the bitwise value.

library/core/src/num/f64.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,8 @@ impl f64 {
741741
///
742742
/// This is currently identical to `transmute::<f64, u64>(self)` on all platforms.
743743
///
744-
/// See `from_bits` for some discussion of the portability of this operation
745-
/// (there are almost no issues).
744+
/// See [`from_bits`](Self::from_bits) for some discussion of the
745+
/// portability of this operation (there are almost no issues).
746746
///
747747
/// Note that this function is distinct from `as` casting, which attempts to
748748
/// preserve the *numeric* value, and not the bitwise value.

0 commit comments

Comments
 (0)