Skip to content

Commit

Permalink
Remove empty newline in deferred_for_loops (astral-sh#6046)
Browse files Browse the repository at this point in the history
Trivial change but none of the others have this empty newline.
  • Loading branch information
charliermarsh authored Jul 24, 2023
1 parent d35b524 commit b7e7346
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/ruff/src/checkers/ast/analyze/deferred_for_loops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b7e7346

Please sign in to comment.