From 4b4b1e1b2581b9aa3229d17d7e0027cfb4086add Mon Sep 17 00:00:00 2001 From: Paul Lange Date: Thu, 6 Apr 2017 22:30:26 +0200 Subject: [PATCH] Improve module description for std::f32 and std::f64. Fixes #29353 --- src/libstd/f32.rs | 4 +++- 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).* -- 2.44.0