chore: remove unneeded into_iter
This commit is contained in:
parent
b1c52d502d
commit
ea585ef321
1 changed files with 0 additions and 1 deletions
|
|
@ -21,7 +21,6 @@ pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) {
|
|||
// the code below temporarily rectifies this discrepancy
|
||||
if p.name
|
||||
.chars()
|
||||
.into_iter()
|
||||
.map(|c| if c == '-' { '_' } else { c })
|
||||
.eq(local_name.as_str().chars())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue