1
Fork 0

remove more redundant into() conversions

This commit is contained in:
Matthias Krüger 2025-01-10 07:08:28 +01:00
parent 88ab2d8acb
commit 1c619373f9
3 changed files with 4 additions and 5 deletions

View file

@ -367,9 +367,8 @@ fn calc_test_vectors_index(conditions: &mut Vec<MCDCBranch>) -> usize {
})
.collect::<FxIndexMap<_, _>>();
let mut queue = std::collections::VecDeque::from_iter(
next_conditions.swap_remove(&ConditionId::START).into_iter(),
);
let mut queue =
std::collections::VecDeque::from_iter(next_conditions.swap_remove(&ConditionId::START));
num_paths_stats[ConditionId::START] = 1;
let mut decision_end_nodes = Vec::new();
while let Some(branch) = queue.pop_front() {