Skip to content

Commit

Permalink
Rollup merge of rust-lang#40495 - llogiq:format-docs, r=steveklabnik
Browse files Browse the repository at this point in the history
fix format grammar

This is just a trivial change to get the escaped squigglies into the grammar.

r? @steveklabnik
  • Loading branch information
frewsxcv authored Mar 17, 2017
2 parents 39bca2d + adba642 commit 0403577
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcollections/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit 0403577

Please sign in to comment.