From 432adc675e2955cbc639cbecf318dc23e053e7e2 Mon Sep 17 00:00:00 2001 From: P1start Date: Fri, 28 Nov 2014 19:01:41 +1300 Subject: Adjust some error messages to start with a lowercase letter and not finish with a full stop --- src/libsyntax/parse/attr.rs | 2 +- src/libsyntax/parse/lexer/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index 0c919daa8ed..db7bc6c323f 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -99,7 +99,7 @@ impl<'a> ParserAttr for Parser<'a> { if permit_inner && self.eat(&token::Semi) { self.span_warn(span, "this inner attribute syntax is deprecated. \ - The new syntax is `#![foo]`, with a bang and no semicolon."); + The new syntax is `#![foo]`, with a bang and no semicolon"); style = ast::AttrInner; } diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index b5358e7d485..57983a6dee6 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -809,7 +809,7 @@ impl<'a> StringReader<'a> { self.span_diagnostic.span_help( sp, "this is an isolated carriage return; consider checking \ - your editor and version control settings.") + your editor and version control settings") } false } -- cgit 1.4.1-3-g733a5