Skip to content

Commit 7ba8ec7

Browse files
committed
Rollup merge of #33605 - tshepang:less-awkward, r=steveklabnik
doc: use less awkward and less confusing language
2 parents 4433903 + 10c984a commit 7ba8ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcollections/fmt.rs

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

0 commit comments

Comments
 (0)