We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88defe commit 10c984aCopy full SHA for 10c984a
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