From 941852eef300b3bee42fc6e2ee48cbf40cb9fc3f Mon Sep 17 00:00:00 2001 From: Marco A L Barbosa Date: Fri, 6 Oct 2017 11:41:04 -0300 Subject: [PATCH] Fix some docs summary nits --- src/liballoc/fmt.rs | 2 +- src/libcore/macros.rs | 2 +- src/libstd/f32.rs | 5 +++-- src/libstd/f64.rs | 5 +++-- src/libstd/panic.rs | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/liballoc/fmt.rs b/src/liballoc/fmt.rs index 58299d5d8361e..77f65412bd3e1 100644 --- a/src/liballoc/fmt.rs +++ b/src/liballoc/fmt.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Utilities for formatting and printing `String`s +//! Utilities for formatting and printing `String`s. //! //! This module contains the runtime support for the [`format!`] syntax extension. //! This macro is implemented in the compiler to emit calls to this module in diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index c410c2d900470..122baec8e58dc 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -361,7 +361,7 @@ macro_rules! try { }) } -/// Write formatted data into a buffer +/// Write formatted data into a buffer. /// /// This macro accepts a format string, a list of arguments, and a 'writer'. Arguments will be /// formatted according to the specified format string and the result will be passed to the writer. diff --git a/src/libstd/f32.rs b/src/libstd/f32.rs index 14f0edc369058..645a4c2115095 100644 --- a/src/libstd/f32.rs +++ b/src/libstd/f32.rs @@ -9,8 +9,9 @@ // except according to those terms. //! 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. +//! 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 e0f0acc6ac441..7fd798155bd59 100644 --- a/src/libstd/f64.rs +++ b/src/libstd/f64.rs @@ -9,8 +9,9 @@ // except according to those terms. //! 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. +//! 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).* diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index 385076e50ddea..219e55d6c1206 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Panic support in the standard library +//! Panic support in the standard library. #![stable(feature = "std_panic", since = "1.9.0")]