Remove unnecessary allocations flagged by lint

This commit is contained in:
Seo Sanghyeon
2013-05-24 01:09:11 +09:00
parent 363e672736
commit 8f80323f09
40 changed files with 161 additions and 161 deletions

View File

@@ -194,9 +194,9 @@ pub impl Parser {
} else {
let mut s: ~str = ~"expected `";
s += self.token_to_str(&token::GT);
s += ~"`, found `";
s += "`, found `";
s += self.this_token_to_str();
s += ~"`";
s += "`";
self.fatal(s);
}
}