You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the grammar documented, the format specifier `{: }` should not be
legal because of the whitespace it contains. However, in reality, this is
perfectly fine because the actual implementation allows spaces before the
closing brace. Fixes#71088.
Also, the exact meaning of most of the terminal symbols was not specified, for
example the meaning of `identifier`.
//! In the above grammar, `text` must not contain any `'{'` or `'}'` characters.
326
+
//! In the above grammar,
327
+
//! - `text` must not contain any `'{'` or `'}'` characters,
328
+
//! - `ws` is any character for which [`char::is_whitespace`] returns `true`, has no semantic
329
+
//! meaning and is completely optional,
330
+
//! - `integer` is a decimal integer that may contain leading zeroes and
331
+
//! - `identifier` is an `IDENTIFIER_OR_KEYWORD` (not an `IDENTIFIER`) as defined by the [Rust language reference](https://doc.rust-lang.org/reference/identifiers.html).
0 commit comments