chore: remove unneeded into_iter
This commit is contained in:
parent
b1c52d502d
commit
ea585ef321
@ -21,7 +21,6 @@ pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) {
|
|||||||
// the code below temporarily rectifies this discrepancy
|
// the code below temporarily rectifies this discrepancy
|
||||||
if p.name
|
if p.name
|
||||||
.chars()
|
.chars()
|
||||||
.into_iter()
|
|
||||||
.map(|c| if c == '-' { '_' } else { c })
|
.map(|c| if c == '-' { '_' } else { c })
|
||||||
.eq(local_name.as_str().chars())
|
.eq(local_name.as_str().chars())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user