File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -776,8 +776,8 @@ impl f32 {
776
776
/// As the target platform's native endianness is used, portable code
777
777
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
778
778
///
779
- /// [`to_be_bytes`]: #method. to_be_bytes
780
- /// [`to_le_bytes`]: #method. to_le_bytes
779
+ /// [`to_be_bytes`]: prim@f32:: to_be_bytes()
780
+ /// [`to_le_bytes`]: prim@f32:: to_le_bytes()
781
781
///
782
782
/// # Examples
783
783
///
@@ -804,7 +804,7 @@ impl f32 {
804
804
///
805
805
/// [`to_ne_bytes`] should be preferred over this whenever possible.
806
806
///
807
- /// [`to_ne_bytes`]: #method. to_ne_bytes
807
+ /// [`to_ne_bytes`]: prim@f32:: to_ne_bytes()
808
808
///
809
809
/// # Examples
810
810
///
@@ -864,8 +864,8 @@ impl f32 {
864
864
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
865
865
/// appropriate instead.
866
866
///
867
- /// [`from_be_bytes`]: #method. from_be_bytes
868
- /// [`from_le_bytes`]: #method. from_le_bytes
867
+ /// [`from_be_bytes`]: prim@f32:: from_be_bytes()
868
+ /// [`from_le_bytes`]: prim@f32:: from_le_bytes()
869
869
///
870
870
/// # Examples
871
871
///
Original file line number Diff line number Diff line change @@ -790,8 +790,8 @@ impl f64 {
790
790
/// As the target platform's native endianness is used, portable code
791
791
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
792
792
///
793
- /// [`to_be_bytes`]: #method. to_be_bytes
794
- /// [`to_le_bytes`]: #method. to_le_bytes
793
+ /// [`to_be_bytes`]: prim@f64:: to_be_bytes()
794
+ /// [`to_le_bytes`]: prim@f64:: to_le_bytes()
795
795
///
796
796
/// # Examples
797
797
///
@@ -818,7 +818,7 @@ impl f64 {
818
818
///
819
819
/// [`to_ne_bytes`] should be preferred over this whenever possible.
820
820
///
821
- /// [`to_ne_bytes`]: #method. to_ne_bytes
821
+ /// [`to_ne_bytes`]: prim@f64:: to_ne_bytes()
822
822
///
823
823
/// # Examples
824
824
///
@@ -878,8 +878,8 @@ impl f64 {
878
878
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
879
879
/// appropriate instead.
880
880
///
881
- /// [`from_be_bytes`]: #method. from_be_bytes
882
- /// [`from_le_bytes`]: #method. from_le_bytes
881
+ /// [`from_be_bytes`]: prim@f64:: from_be_bytes()
882
+ /// [`from_le_bytes`]: prim@f64:: from_le_bytes()
883
883
///
884
884
/// # Examples
885
885
///
You can’t perform that action at this time.
0 commit comments