From 56f1b68055746c5f8b74f0624d88e91eb71acffa Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 29 Aug 2023 21:01:35 +0100 Subject: [PATCH] allow with justification --- .../the-dungeon-puzzlers-lament/src/game/simulation/entity.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs b/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs index b516d364..e264efd4 100644 --- a/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs +++ b/examples/the-dungeon-puzzlers-lament/src/game/simulation/entity.rs @@ -102,6 +102,8 @@ impl EntityMap { AnimationInstruction::Add(idx, entity, location, None) } + // allow because while it's a lot of arguments, it's not confusing because they are all of different types + #[allow(clippy::too_many_arguments)] fn attempt_move_in_direction( &mut self, map: &Map,