1
Fork 0

Fix spelling s/casted/cast/

This commit is contained in:
Lukas Lueg 2018-02-21 16:12:23 +01:00
parent 27a046e933
commit f7693c0633
8 changed files with 18 additions and 18 deletions

View file

@ -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();