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 {
776776 /// As the target platform's native endianness is used, portable code
777777 /// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
778778 ///
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()
781781 ///
782782 /// # Examples
783783 ///
@@ -804,7 +804,7 @@ impl f32 {
804804 ///
805805 /// [`to_ne_bytes`] should be preferred over this whenever possible.
806806 ///
807- /// [`to_ne_bytes`]: #method. to_ne_bytes
807+ /// [`to_ne_bytes`]: prim@f32:: to_ne_bytes()
808808 ///
809809 /// # Examples
810810 ///
@@ -864,8 +864,8 @@ impl f32 {
864864 /// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
865865 /// appropriate instead.
866866 ///
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()
869869 ///
870870 /// # Examples
871871 ///
Original file line number Diff line number Diff line change @@ -790,8 +790,8 @@ impl f64 {
790790 /// As the target platform's native endianness is used, portable code
791791 /// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
792792 ///
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()
795795 ///
796796 /// # Examples
797797 ///
@@ -818,7 +818,7 @@ impl f64 {
818818 ///
819819 /// [`to_ne_bytes`] should be preferred over this whenever possible.
820820 ///
821- /// [`to_ne_bytes`]: #method. to_ne_bytes
821+ /// [`to_ne_bytes`]: prim@f64:: to_ne_bytes()
822822 ///
823823 /// # Examples
824824 ///
@@ -878,8 +878,8 @@ impl f64 {
878878 /// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
879879 /// appropriate instead.
880880 ///
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()
883883 ///
884884 /// # Examples
885885 ///
You can’t perform that action at this time.
0 commit comments