File tree Expand file tree Collapse file tree 5 files changed +14
-2
lines changed Expand file tree Collapse file tree 5 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 44//! *[See also the `f32` primitive type](../../std/primitive.f32.html).*
55//!
66//! Mathematically significant numbers are provided in the `consts` sub-module.
7+ //!
8+ //! Although using these constants won’t cause compilation warnings,
9+ //! new code should use the associated constants directly on the primitive type.
710
811#![ stable( feature = "rust1" , since = "1.0.0" ) ]
912
Original file line number Diff line number Diff line change 44//! *[See also the `f64` primitive type](../../std/primitive.f64.html).*
55//!
66//! Mathematically significant numbers are provided in the `consts` sub-module.
7+ //!
8+ //! Although using these constants won’t cause compilation warnings,
9+ //! new code should use the associated constants directly on the primitive type.
710
811#![ stable( feature = "rust1" , since = "1.0.0" ) ]
912
Original file line number Diff line number Diff line change 44//! *[See also the `f32` primitive type](../../std/primitive.f32.html).*
55//!
66//! Mathematically significant numbers are provided in the `consts` sub-module.
7+ //!
8+ //! Although using these constants won’t cause compilation warnings,
9+ //! new code should use the associated constants directly on the primitive type.
710
811#![ stable( feature = "rust1" , since = "1.0.0" ) ]
912#![ allow( missing_docs) ]
Original file line number Diff line number Diff line change 44//! *[See also the `f64` primitive type](../../std/primitive.f64.html).*
55//!
66//! Mathematically significant numbers are provided in the `consts` sub-module.
7+ //!
8+ //! Although using these constants won’t cause compilation warnings,
9+ //! new code should use the associated constants directly on the primitive type.
710
811#![ stable( feature = "rust1" , since = "1.0.0" ) ]
912#![ allow( missing_docs) ]
Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ mod prim_tuple {}
771771#[ doc( primitive = "f32" ) ]
772772/// The 32-bit floating point type.
773773///
774- /// *[See also the `std::f32` module](f32/index.html).*
774+ /// *[See also the `std::f32::consts ` module](f32/consts /index.html).*
775775///
776776#[ stable( feature = "rust1" , since = "1.0.0" ) ]
777777mod prim_f32 { }
@@ -780,7 +780,7 @@ mod prim_f32 {}
780780//
781781/// The 64-bit floating point type.
782782///
783- /// *[See also the `std::f64` module](f64/index.html).*
783+ /// *[See also the `std::f64::consts ` module](f64/consts /index.html).*
784784///
785785#[ stable( feature = "rust1" , since = "1.0.0" ) ]
786786mod prim_f64 { }
You can’t perform that action at this time.
0 commit comments