Functions
- Rust main function
- Rust hello world function
- Rust function with parameter (&str)
- Rust functions return the unit by default
- Rust function return value (integer i32)
- Return the last expression (no return)
- Return a string
- Rust recursive functions: factorial
- Rust recursive functions: Fibonacci
- Make function argument mutable inside the function
- Cannot decalre the same function twice
- Pass by reference to change external variable - Increment in a function
- Count digits using functions
- Function returning multiple values
- Function accepting multiple types (e.g. any type of numbers)
- Function that can accept any number (any integer or any float)
- Exercise rectangle functions
- Exercise: is prime?
- Scoped functions