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.
type
1 parent e9182f1 commit f5485e5Copy full SHA for f5485e5
library/alloc/src/fmt.rs
@@ -348,13 +348,13 @@
348
//! format := '{' [ argument ] [ ':' format_spec ] [ ws ] * '}'
349
//! argument := integer | identifier
350
//!
351
-//! format_spec := [[fill]align][sign]['#']['0'][width]['.' precision]type
+//! format_spec := [[fill]align][sign]['#']['0'][width]['.' precision][type]
352
//! fill := character
353
//! align := '<' | '^' | '>'
354
//! sign := '+' | '-'
355
//! width := count
356
//! precision := count | '*'
357
-//! type := '' | '?' | 'x?' | 'X?' | identifier
+//! type := '?' | 'x?' | 'X?' | identifier
358
//! count := parameter | integer
359
//! parameter := argument '$'
360
//! ```
0 commit comments