mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 01:50:38 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue