about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-06-09 19:00:32 -0700
committerEsteban Küber <esteban@kuber.com.ar>2018-06-19 15:19:20 -0700
commit317258c1ceb9918fe67f98ddf8949f1e7e756fbd (patch)
tree4d95dfad4673c92008e53803f630a98529f4f7f7 /src/libsyntax/parse
parenta93f176b7440a38e6eda7e1b5e338cd4d05f92a8 (diff)
downloadrust-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.rs4
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);
                     }
                     _ => {