mirror of https://github.com/astral-sh/ruff
Remove empty newline in `deferred_for_loops` (#6046)
Trivial change but none of the others have this empty newline.
This commit is contained in:
parent
d35b5248ea
commit
b7e7346081
|
|
@ -8,7 +8,6 @@ use crate::rules::{flake8_bugbear, perflint};
|
|||
pub(crate) fn deferred_for_loops(checker: &mut Checker) {
|
||||
while !checker.deferred.for_loops.is_empty() {
|
||||
let for_loops = std::mem::take(&mut checker.deferred.for_loops);
|
||||
|
||||
for snapshot in for_loops {
|
||||
checker.semantic.restore(snapshot);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue