debtmap 0.20.0

Code complexity and technical debt analyzer
Documentation
1
2
3
4
5
6
7
fn complex_mutation(mut a: Vec<i32>, mut b: Vec<i32>) -> Vec<i32> {
    for item in b.drain(..) {
        a.push(item * 2);
    }
    a.sort();
    a
}