Functions
Functions and variables use snake case. Types and traits use PascalCase. All by convention. Order doesn't matter.
#![allow(unused)] fn main() { fn sum(a: i32, b: i32) -> i32 { a + b; } }
Functions and variables use snake case. Types and traits use PascalCase. All by convention. Order doesn't matter.
#![allow(unused)] fn main() { fn sum(a: i32, b: i32) -> i32 { a + b; } }