diff options
| author | bors <bors@rust-lang.org> | 2017-04-14 13:24:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-04-14 13:24:27 +0000 |
| commit | 5637ed756632ded9e458b82a23cc1dddbb57c51f (patch) | |
| tree | d0e180292bcdc5b52c18e808558d7501081659cd /src/libstd | |
| parent | 4f32e0dfb287c2b3d0c48cb3b8090b3902960084 (diff) | |
| parent | 4b4b1e1b2581b9aa3229d17d7e0027cfb4086add (diff) | |
| download | rust-5637ed756632ded9e458b82a23cc1dddbb57c51f.tar.gz rust-5637ed756632ded9e458b82a23cc1dddbb57c51f.zip | |
Auto merge of #41122 - palango:mod-desc-floats, r=frewsxcv
Improve module description for std::f32 and std::f64 Fixes #29353, see discussion there.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/f32.rs | 4 | ||||
| -rw-r--r-- | src/libstd/f64.rs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs index 544f4f9ddbe..dd831800683 100644 --- a/src/libstd/f32.rs +++ b/src/libstd/f32.rs @@ -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).* diff --git a/src/libstd/f64.rs b/src/libstd/f64.rs index dd4bc253bed..2f02e01935a 100644 --- a/src/libstd/f64.rs +++ b/src/libstd/f64.rs @@ -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).* |
