diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2018-06-09 19:00:32 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2018-06-19 15:19:20 -0700 |
| commit | 317258c1ceb9918fe67f98ddf8949f1e7e756fbd (patch) | |
| tree | 4d95dfad4673c92008e53803f630a98529f4f7f7 /src/libsyntax/parse | |
| parent | a93f176b7440a38e6eda7e1b5e338cd4d05f92a8 (diff) | |
| download | rust-317258c1ceb9918fe67f98ddf8949f1e7e756fbd.tar.gz rust-317258c1ceb9918fe67f98ddf8949f1e7e756fbd.zip | |
Fix tidy and remove unused method
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 4045053283e..398d2f04d0f 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -648,8 +648,8 @@ impl<'a> Parser<'a> { let cm = self.sess.codemap(); match (cm.lookup_line(self.span.lo()), cm.lookup_line(sp.lo())) { (Ok(ref a), Ok(ref b)) if a.line == b.line => { - // When the spans are in the same line, it means that the only content between - // them is whitespace, point only at the found token. + // When the spans are in the same line, it means that the only content + // between them is whitespace, point only at the found token. err.span_label(self.span, label_exp); } _ => { |
