debtmap 0.16.3

Code complexity and technical debt analyzer
Documentation
1
2
3
4
5
struct Point { x: i32, y: i32 }

fn distance_squared(p: Point) -> i32 {
    p.x * p.x + p.y * p.y
}