Skip to content

Commit

Permalink
libsyntax: Don't accept :? as a format specifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmana committed Oct 16, 2014
1 parent 3410c52 commit 6f9b3b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libsyntax/ext/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,6 @@ impl<'a, 'b> Context<'a, 'b> {
Known(ref tyname) => {
match tyname.as_slice() {
"" => ("std", "secret_show"),
"?" => ("debug", "secret_poly"),
"b" => ("std", "secret_bool"),
"c" => ("std", "secret_char"),
"d" | "i" => ("std", "secret_signed"),
Expand Down

0 comments on commit 6f9b3b5

Please sign in to comment.