Skip to content

Commit

Permalink
Fix some docs summary nits
Browse files Browse the repository at this point in the history
  • Loading branch information
malbarbo committed Nov 20, 2017
1 parent 26e881d commit 941852e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/liballoc/fmt.rs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/macros.rs
Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions src/libstd/f32.rs
Expand Up @@ -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).*

Expand Down
5 changes: 3 additions & 2 deletions src/libstd/f64.rs
Expand Up @@ -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).*

Expand Down
2 changes: 1 addition & 1 deletion src/libstd/panic.rs
Expand Up @@ -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")]

Expand Down

0 comments on commit 941852e

Please sign in to comment.