mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
Intra doc links for f32/f64
This commit is contained in:
parent
4e54b4c3e6
commit
b3b1e0c224
@ -776,8 +776,8 @@ impl f32 {
|
||||
/// As the target platform's native endianness is used, portable code
|
||||
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
|
||||
///
|
||||
/// [`to_be_bytes`]: #method.to_be_bytes
|
||||
/// [`to_le_bytes`]: #method.to_le_bytes
|
||||
/// [`to_be_bytes`]: prim@f32::to_be_bytes()
|
||||
/// [`to_le_bytes`]: prim@f32::to_le_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -804,7 +804,7 @@ impl f32 {
|
||||
///
|
||||
/// [`to_ne_bytes`] should be preferred over this whenever possible.
|
||||
///
|
||||
/// [`to_ne_bytes`]: #method.to_ne_bytes
|
||||
/// [`to_ne_bytes`]: prim@f32::to_ne_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -864,8 +864,8 @@ impl f32 {
|
||||
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
|
||||
/// appropriate instead.
|
||||
///
|
||||
/// [`from_be_bytes`]: #method.from_be_bytes
|
||||
/// [`from_le_bytes`]: #method.from_le_bytes
|
||||
/// [`from_be_bytes`]: prim@f32::from_be_bytes()
|
||||
/// [`from_le_bytes`]: prim@f32::from_le_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -790,8 +790,8 @@ impl f64 {
|
||||
/// As the target platform's native endianness is used, portable code
|
||||
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
|
||||
///
|
||||
/// [`to_be_bytes`]: #method.to_be_bytes
|
||||
/// [`to_le_bytes`]: #method.to_le_bytes
|
||||
/// [`to_be_bytes`]: prim@f64::to_be_bytes()
|
||||
/// [`to_le_bytes`]: prim@f64::to_le_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -818,7 +818,7 @@ impl f64 {
|
||||
///
|
||||
/// [`to_ne_bytes`] should be preferred over this whenever possible.
|
||||
///
|
||||
/// [`to_ne_bytes`]: #method.to_ne_bytes
|
||||
/// [`to_ne_bytes`]: prim@f64::to_ne_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -878,8 +878,8 @@ impl f64 {
|
||||
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
|
||||
/// appropriate instead.
|
||||
///
|
||||
/// [`from_be_bytes`]: #method.from_be_bytes
|
||||
/// [`from_le_bytes`]: #method.from_le_bytes
|
||||
/// [`from_be_bytes`]: prim@f64::from_be_bytes()
|
||||
/// [`from_le_bytes`]: prim@f64::from_le_bytes()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user