diff --git a/day_07/src/equation/operator_set.rs b/day_07/src/equation/operator_set.rs index 4e59fde..2735e2b 100644 --- a/day_07/src/equation/operator_set.rs +++ b/day_07/src/equation/operator_set.rs @@ -29,7 +29,7 @@ fn create_operator_set_recurse( for i in 0..operators.len() { if operators[i] { - continue; + break; } let mut new_operators = operators.clone(); new_operators[i] = true;