debtmap 0.17.0

Code complexity and technical debt analyzer
Documentation
1
2
3
4
5
fn process_triplets(items: &[i32]) -> Vec<i32> {
    items.chunks(3)
        .map(|chunk| chunk.iter().sum())
        .collect()
}