Skip to content

Commit

Permalink
made phichain-editor pass clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-1F committed Feb 4, 2025
1 parent b7f69b0 commit 016c8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phichain-editor/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn unload_project_system(
let to_remove = world
.query::<Entity>()
.iter(world)
.filter(|entity| world.inspect_entity(*entity).collect::<Vec<_>>().len() == 0)
.filter(|entity| world.inspect_entity(*entity).collect::<Vec<_>>().is_empty())
.collect::<Vec<_>>();
for entity in to_remove {
world.entity_mut(entity).despawn_recursive();
Expand Down

0 comments on commit 016c8e3

Please sign in to comment.