Skip to content

Commit

Permalink
remove confusing and redundant subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 12, 2019
1 parent f727f8a commit 504cc20
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/liballoc/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,6 @@
//! arguments which have names. Like with positional parameters, it is not
//! valid to provide named parameters that are unused by the format string.
//!
//! ## Argument types
//!
//! Each argument's type is dictated by the format string.
//! There are various parameters which require a particular type, however.
//! An example is the `{:.*}` syntax, which sets the number of decimal places
//! in floating-point types:
//!
//! ```
//! let formatted_number = format!("{:.*}", 2, 1.234567);
//!
//! assert_eq!("1.23", formatted_number)
//! ```
//!
//! If this syntax is used, then the number of characters to print precedes the
//! actual object being formatted, and the number of characters must have the
//! type [`usize`].
//!
//! # Formatting Parameters
//!
//! Each argument being formatted can be transformed by a number of formatting
Expand Down

0 comments on commit 504cc20

Please sign in to comment.