remove more redundant into() conversions
This commit is contained in:
parent
88ab2d8acb
commit
1c619373f9
3 changed files with 4 additions and 5 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue