diff --git a/doc/syntax.md b/doc/syntax.md index a24f7edb..dd392f63 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -74,7 +74,7 @@ The general form of a *standard format specifier* is:
format_spec ::= [[fill]align][sign]["#"]["0"][width]["." precision]["L"][type] -fill ::= +fill ::= <a character other than '{' or '}'> align ::= "<" | ">" | "^" sign ::= "+" | "-" | " " width ::= integer | "{" [arg_id] "}" @@ -268,7 +268,7 @@ as `std::tm` have the following syntax: chrono_format_spec ::= [[fill]align][width]["." precision][chrono_specs] chrono_specs ::= [chrono_specs] conversion_spec | chrono_specs literal_char conversion_spec ::= "%" [modifier] chrono_type -literal_char ::= +literal_char ::= <a character other than '{', '}' or '%'> modifier ::= "E" | "O" chrono_type ::= "a" | "A" | "b" | "B" | "c" | "C" | "d" | "D" | "e" | "F" | "g" | "G" | "h" | "H" | "I" | "j" | "m" | "M" | "n" | "p" |