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 4
4
//! *[See also the `f32` primitive type](../../std/primitive.f32.html).*
5
5
//!
6
6
//! 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.
7
10
8
11
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
9
12
Original file line number Diff line number Diff line change 4
4
//! *[See also the `f64` primitive type](../../std/primitive.f64.html).*
5
5
//!
6
6
//! 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.
7
10
8
11
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
9
12
Original file line number Diff line number Diff line change 4
4
//! *[See also the `f32` primitive type](../../std/primitive.f32.html).*
5
5
//!
6
6
//! 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.
7
10
8
11
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
9
12
#![ allow( missing_docs) ]
Original file line number Diff line number Diff line change 4
4
//! *[See also the `f64` primitive type](../../std/primitive.f64.html).*
5
5
//!
6
6
//! 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.
7
10
8
11
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
9
12
#![ allow( missing_docs) ]
Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ mod prim_tuple {}
771
771
#[ doc( primitive = "f32" ) ]
772
772
/// The 32-bit floating point type.
773
773
///
774
- /// *[See also the `std::f32` module](f32/index.html).*
774
+ /// *[See also the `std::f32::consts ` module](f32/consts /index.html).*
775
775
///
776
776
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
777
777
mod prim_f32 { }
@@ -780,7 +780,7 @@ mod prim_f32 {}
780
780
//
781
781
/// The 64-bit floating point type.
782
782
///
783
- /// *[See also the `std::f64` module](f64/index.html).*
783
+ /// *[See also the `std::f64::consts ` module](f64/consts /index.html).*
784
784
///
785
785
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
786
786
mod prim_f64 { }
You can’t perform that action at this time.
0 commit comments