diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-05-24 01:09:11 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-05-28 03:14:44 +0900 |
| commit | 8f80323f09ef150efc5cf729100f99981afc96e1 (patch) | |
| tree | 146beb099875fb28ff9eae1d4b5a72b6b624b3c3 /src/libsyntax/parse/common.rs | |
| parent | 363e67273622285a65caa74bb63ecfa04df59055 (diff) | |
| download | rust-8f80323f09ef150efc5cf729100f99981afc96e1.tar.gz rust-8f80323f09ef150efc5cf729100f99981afc96e1.zip | |
Remove unnecessary allocations flagged by lint
Diffstat (limited to 'src/libsyntax/parse/common.rs')
| -rw-r--r-- | src/libsyntax/parse/common.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 6a868fbf173..bdbe91e4112 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -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); } } |
