readme+cargo meta

This commit is contained in:
Robin Appelman 2021-08-08 15:55:01 +02:00
commit a9302218cb
3 changed files with 17 additions and 1 deletions

View file

@ -32,7 +32,6 @@ impl EventHandler for HighestDamageHandler {
}) = event
{
let damage = damage.get();
// note that we leave the name empty for now to prevent needles cloning
match &mut self.current {
Some((_, current_damage)) if damage > *current_damage => {
self.current = Some((subject, damage))