Skip to content

Commit 1dc8717

Browse files
committed
Update to new format!() of rust-lang/rust#14831.
1 parent a78a40a commit 1dc8717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platformtree/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl<'a> Parser<'a> {
215215
subnodes = HashMap::new();
216216
},
217217
ref other => {
218-
self.error(format!("expected `\\{` or `;` but found `{}`",
218+
self.error(format!("expected `{{` or `;` but found `{}`",
219219
token::to_str(other)));
220220
return None;
221221
}

0 commit comments

Comments
 (0)