Rollup merge of #40495 - llogiq:format-docs, r=steveklabnik
fix format grammar This is just a trivial change to get the escaped squigglies into the grammar. r? @steveklabnik
This commit is contained in:
commit
4fbd8849d9
1 changed files with 2 additions and 1 deletions
|
|
@ -306,7 +306,8 @@
|
|||
//! `%`. The actual grammar for the formatting syntax is:
|
||||
//!
|
||||
//! ```text
|
||||
//! format_string := <text> [ format <text> ] *
|
||||
//! format_string := <text> [ maybe-format <text> ] *
|
||||
//! maybe-format := '{' '{' | '}' '}' | <format>
|
||||
//! format := '{' [ argument ] [ ':' format_spec ] '}'
|
||||
//! argument := integer | identifier
|
||||
//!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue