improve wording of a suggestion
This commit is contained in:
parent
e25129b055
commit
1dfb53b7da
3 changed files with 9 additions and 9 deletions
|
@ -697,7 +697,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
|
||||
Some((
|
||||
pat.span,
|
||||
format!("to declare a mutable {ident_kind} use `mut variable_name`"),
|
||||
format!("to declare a mutable {ident_kind} use"),
|
||||
format!("mut {binding}"),
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue