mirror of https://github.com/astral-sh/ruff
Fix clippy errors
This commit is contained in:
parent
80bf8b4b08
commit
48a0795aec
|
|
@ -380,8 +380,7 @@ where
|
||||||
self.checks.extend(
|
self.checks.extend(
|
||||||
targets
|
targets
|
||||||
.iter()
|
.iter()
|
||||||
.map(|target| checks::check_ambiguous_variable_name(target))
|
.flat_map(checks::check_ambiguous_variable_name),
|
||||||
.flatten(),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue