summaryrefslogtreecommitdiff
path: root/ecs/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/event.rs')
-rw-r--r--ecs/src/event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/event.rs b/ecs/src/event.rs
index dffd327..15455b6 100644
--- a/ecs/src/event.rs
+++ b/ecs/src/event.rs
@@ -70,7 +70,7 @@ impl NewEvents
self.events.insert_at_part_pt_by_key(
(event_id, Matches { match_ids: Vec::from([match_id]) }),
- |(other_event_id, _)| *other_event_id,
+ |(other_event_id, _)| other_event_id,
);
}
@@ -100,6 +100,6 @@ impl Matches
}
self.match_ids
- .insert_at_part_pt_by_key(match_id, |other_match_id| *other_match_id);
+ .insert_at_part_pt_by_key(match_id, |other_match_id| other_match_id);
}
}