about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorClar Charr <clar@charr.xyz>2017-12-21 20:29:14 -0500
committerClar Charr <clar@charr.xyz>2017-12-21 20:32:07 -0500
commitebdd667d4083bae7aadebd8b56856fd2a30d9f1c (patch)
treeff230674f8051d5891269f81f92510565e3e01ca /src/libcore
parenteff3de0927c36e6483ccb8a35c3d2da6e063de0b (diff)
downloadrust-ebdd667d4083bae7aadebd8b56856fd2a30d9f1c.tar.gz
rust-ebdd667d4083bae7aadebd8b56856fd2a30d9f1c.zip
Make core::f32/f64 docs match std.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/num/f32.rs7
-rw-r--r--src/libcore/num/f64.rs7
2 files changed, 12 insertions, 2 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs
index 43d38926c97..7f758f2a23b 100644
--- a/src/libcore/num/f32.rs
+++ b/src/libcore/num/f32.rs
@@ -8,7 +8,12 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Operations and constants for 32-bits floats (`f32` 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](../../std/primitive.f32.html).*
 
 #![stable(feature = "rust1", since = "1.0.0")]
 
diff --git a/src/libcore/num/f64.rs b/src/libcore/num/f64.rs
index 4ff80a2f05d..b9db4990a7e 100644
--- a/src/libcore/num/f64.rs
+++ b/src/libcore/num/f64.rs
@@ -8,7 +8,12 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Operations and constants for 64-bits floats (`f64` 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](../../std/primitive.f64.html).*
 
 #![stable(feature = "rust1", since = "1.0.0")]