Skip to content

Commit 941852e

Browse files
committed
Fix some docs summary nits
1 parent 26e881d commit 941852e

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

src/liballoc/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Utilities for formatting and printing `String`s
11+
//! Utilities for formatting and printing `String`s.
1212
//!
1313
//! This module contains the runtime support for the [`format!`] syntax extension.
1414
//! This macro is implemented in the compiler to emit calls to this module in

src/libcore/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ macro_rules! try {
361361
})
362362
}
363363

364-
/// Write formatted data into a buffer
364+
/// Write formatted data into a buffer.
365365
///
366366
/// This macro accepts a format string, a list of arguments, and a 'writer'. Arguments will be
367367
/// formatted according to the specified format string and the result will be passed to the writer.

src/libstd/f32.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
// except according to those terms.
1010

1111
//! This module provides constants which are specific to the implementation
12-
//! of the `f32` floating point data type. Mathematically significant
13-
//! numbers are provided in the `consts` sub-module.
12+
//! of the `f32` floating point data type.
13+
//!
14+
//! Mathematically significant numbers are provided in the `consts` sub-module.
1415
//!
1516
//! *[See also the `f32` primitive type](../primitive.f32.html).*
1617

src/libstd/f64.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
// except according to those terms.
1010

1111
//! This module provides constants which are specific to the implementation
12-
//! of the `f64` floating point data type. Mathematically significant
13-
//! numbers are provided in the `consts` sub-module.
12+
//! of the `f64` floating point data type.
13+
//!
14+
//! Mathematically significant numbers are provided in the `consts` sub-module.
1415
//!
1516
//! *[See also the `f64` primitive type](../primitive.f64.html).*
1617

src/libstd/panic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Panic support in the standard library
11+
//! Panic support in the standard library.
1212
1313
#![stable(feature = "std_panic", since = "1.9.0")]
1414

0 commit comments

Comments
 (0)