Skip to content

Commit

Permalink
Update to new format!() of rust-lang/rust#14831.
Browse files Browse the repository at this point in the history
  • Loading branch information
farcaller committed Jun 15, 2014
1 parent a78a40a commit 1dc8717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platformtree/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl<'a> Parser<'a> {
subnodes = HashMap::new();
},
ref other => {
self.error(format!("expected `\\{` or `;` but found `{}`",
self.error(format!("expected `{{` or `;` but found `{}`",
token::to_str(other)));
return None;
}
Expand Down

0 comments on commit 1dc8717

Please # to comment.