diff --git a/src/clashing_inputs.rs b/src/clashing_inputs.rs index 57ec0327..ef0428ba 100644 --- a/src/clashing_inputs.rs +++ b/src/clashing_inputs.rs @@ -110,7 +110,7 @@ impl InputMap { let mut clashes = Vec::default(); for action_pair in A::variants().combinations(2) { - let action_a = action_pair.get(0).unwrap().clone(); + let action_a = action_pair.first().unwrap().clone(); let action_b = action_pair.get(1).unwrap().clone(); if let Some(clash) = self.possible_clash(action_a, action_b) {