Rollup merge of #33605 - tshepang:less-awkward, r=steveklabnik
doc: use less awkward and less confusing language
This commit is contained in:
commit
9cd83eb15c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue