Skip to content

Commit 92450cf

Browse files
committed
cleanup
1 parent a6d0552 commit 92450cf

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/bevy_ecs/src/schedule_v3/graph_utils.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ where
320320
}
321321
}
322322

323-
// TODO: make iterator, setup stack to return here
324323
if successors.peekable().peek().is_none() {
325324
if maybe_in_more_cycles.contains(node) {
326325
unblock_stack.push(*node);
@@ -343,11 +342,8 @@ where
343342
}
344343
}
345344

346-
// remove node from path
347-
debug_assert_eq!(path.last(), Some(node));
345+
// remove node from path and DFS stack
348346
path.pop();
349-
350-
// remove node from DFS stack
351347
stack.pop();
352348
}
353349
}

0 commit comments

Comments
 (0)