Rollup merge of #33605 - tshepang:less-awkward, r=steveklabnik

doc: use less awkward and less confusing language
This commit is contained in:
Eduard-Mihai Burtescu 2016-05-16 02:00:19 +03:00
commit 9cd83eb15c

View file

@ -104,8 +104,8 @@
//! octal.
//!
//! There are various parameters which do require a particular type, however.
//! Namely, the `{:.*}` syntax, which sets the number of numbers after the
//! decimal in floating-point types:
//! An example is the `{:.*}` syntax, which sets the number of decimal places
//! in floating-point types:
//!
//! ```
//! let formatted_number = format!("{:.*}", 2, 1.234567);