about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorLukas Lueg <lukas.lueg@gmail.com>2018-02-21 16:12:23 +0100
committerLukas Lueg <lukas.lueg@gmail.com>2018-03-01 12:54:16 +0100
commitf7693c06338c825d0d49eb1373e2039416b38389 (patch)
treeb05bc35d79ba0d89852e725822d19ccf1ab72132 /src/libsyntax/parse
parent27a046e9338fb0455c33b13e8fe28da78212dedc (diff)
downloadrust-f7693c06338c825d0d49eb1373e2039416b38389.tar.gz
rust-f7693c06338c825d0d49eb1373e2039416b38389.zip
Fix spelling s/casted/cast/
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 7915109ce3a..fdeed5391f7 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3094,7 +3094,7 @@ impl<'a> Parser<'a> {
                         let expr_str = self.sess.codemap().span_to_snippet(expr.span)
                                                 .unwrap_or(pprust::expr_to_string(&expr));
                         err.span_suggestion(expr.span,
-                                            &format!("try {} the casted value", op_verb),
+                                            &format!("try {} the cast value", op_verb),
                                             format!("({})", expr_str));
                         err.emit();