summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorPaul Lange <palango@gmx.de>2017-04-06 22:30:26 +0200
committerPaul Lange <palango@gmx.de>2017-04-11 21:57:54 +0200
commit4b4b1e1b2581b9aa3229d17d7e0027cfb4086add (patch)
treed50896768a946a54b2f35eed76c8207fa9bfac61 /src/libstd
parent44855a4cef3e83c76c386fdcf034447a8ee128e4 (diff)
downloadrust-4b4b1e1b2581b9aa3229d17d7e0027cfb4086add.tar.gz
rust-4b4b1e1b2581b9aa3229d17d7e0027cfb4086add.zip
Improve module description for std::f32 and std::f64.
Fixes #29353
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/f32.rs4
-rw-r--r--src/libstd/f64.rs4
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).*