wiki/dev/lang/rust/function.md

110 B

Functions.

Declare.

Declare functions using fn keyword.

fn main() {}

fn main(x: i32) {}