From 317258c1ceb9918fe67f98ddf8949f1e7e756fbd Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Sat, 9 Jun 2018 19:00:32 -0700 Subject: Fix tidy and remove unused method --- src/libsyntax/parse/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse') 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); } _ => { -- cgit 1.4.1-3-g733a5