debtmap 0.20.0

Code complexity and technical debt analyzer
Documentation
1
2
3
4
5
6
7
fn process_nested(items: Vec<Vec<i32>>) -> Vec<Vec<i32>> {
    items.into_iter()
        .map(|v| v.into_iter()
            .filter(|&x| x > 0)
            .collect())
        .collect()
}