We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4433903 + 10c984a commit 7ba8ec7Copy full SHA for 7ba8ec7
src/libcollections/fmt.rs
@@ -104,8 +104,8 @@
104
//! octal.
105
//!
106
//! 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:
+//! An example is the `{:.*}` syntax, which sets the number of decimal places
+//! in floating-point types:
109
110
//! ```
111
//! let formatted_number = format!("{:.*}", 2, 1.234567);
0 commit comments