Skip to content

Commit

Permalink
doc: use less awkward and less confusing language
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed May 12, 2016
1 parent e88defe commit 10c984a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcollections/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 10c984a

Please sign in to comment.