Remove unnecessary .to_string()
/.as_str()
s
This commit is contained in:
parent
bf3c6c5bed
commit
ef37dcb7db
10 changed files with 15 additions and 15 deletions
|
@ -2440,7 +2440,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
"consider consuming the `{ty}` when turning it into an \
|
||||
`Iterator`",
|
||||
),
|
||||
"into_iter".to_string(),
|
||||
"into_iter",
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue