Skip to content

Commit

Permalink
fix format grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
llogiq committed Mar 13, 2017
1 parent fd182c4 commit adba642
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 adba642

Please sign in to comment.