Skip to content

Commit 5637ed7

Browse files
committed
Auto merge of rust-lang#41122 - palango:mod-desc-floats, r=frewsxcv
Improve module description for std::f32 and std::f64 Fixes rust-lang#29353, see discussion there.
2 parents 4f32e0d + 4b4b1e1 commit 5637ed7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/libstd/f32.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The 32-bit floating point type.
11+
//! This module provides constants which are specific to the implementation
12+
//! of the `f32` floating point data type. Mathematically significant
13+
//! numbers are provided in the `consts` sub-module.
1214
//!
1315
//! *[See also the `f32` primitive type](../primitive.f32.html).*
1416

src/libstd/f64.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! The 64-bit floating point type.
11+
//! This module provides constants which are specific to the implementation
12+
//! of the `f64` floating point data type. Mathematically significant
13+
//! numbers are provided in the `consts` sub-module.
1214
//!
1315
//! *[See also the `f64` primitive type](../primitive.f64.html).*
1416

0 commit comments

Comments
 (0)