Skip to content

Commit

Permalink
Merge pull request #57 from waywardmonkeys/remove-unused-enumerate
Browse files Browse the repository at this point in the history
clippy: Remove unused enumerate index.
  • Loading branch information
rewin123 authored Nov 10, 2023
2 parents 6269786 + 4432876 commit 50b9d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/ui/tools/gizmo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl EditorTool for GizmoTool {
if gizmo_interacted && ui.input(|s| s.modifiers.alt) {
if self.is_move_cloned_entities {
} else {
for (_, e) in selected.iter().enumerate() {
for e in selected.iter() {
cell.world_mut().send_event(CloneEvent { id: *e });
}
self.is_move_cloned_entities = true;
Expand Down

0 comments on commit 50b9d32

Please sign in to comment.