debtmap 0.20.0

Code complexity and technical debt analyzer
Documentation
1
2
3
4
5
fn single_map(x: i32) -> Vec<i32> {
    vec![x].into_iter()
        .map(|n| n * 2)
        .collect()
}