Skip to content

Commit

Permalink
Auto merge of #41122 - palango:mod-desc-floats, r=frewsxcv
Browse files Browse the repository at this point in the history
Improve module description for std::f32 and std::f64

Fixes #29353, see discussion there.
  • Loading branch information
bors committed Apr 14, 2017
2 parents 4f32e0d + 4b4b1e1 commit 5637ed7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/libstd/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

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

Expand Down
4 changes: 3 additions & 1 deletion src/libstd/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

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

Expand Down

0 comments on commit 5637ed7

Please sign in to comment.