hoisting

Functions can be called from anywhere in your code.

e.g.

fn main() {
Β  Β  hello_world();

}

fn hello_world() {
Β  Β  println!("Hello, Rust!");
}