]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/parse/parser.rs
rollup merge of #21438: taralx/kill-racycell
[rust.git] / src / libsyntax / parse / parser.rs
index 1a296d39360f32ddfc168c0ef6b1ed07532c4dd8..865a71106964f0c2a04bb1390dcfd9cfcb636064 100644 (file)
@@ -2921,7 +2921,7 @@ fn check_no_chained_comparison(&mut self, lhs: &Expr, outer_op: ast::BinOp) {
                     "Chained comparison operators require parentheses");
                 if op == BiLt && outer_op == BiGt {
                     self.span_help(op_span,
-                        "Use ::< instead of < if you meant to specify type arguments.");
+                        "use ::< instead of < if you meant to specify type arguments");
                 }
             }
             _ => {}