Rollup merge of #48403 - lukaslueg:casted, r=steveklabnik
Fix spelling s/casted/cast/ r? @GuillaumeGomez
This commit is contained in:
commit
43de95ca5b
8 changed files with 18 additions and 18 deletions
|
@ -3114,7 +3114,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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue