blob: 095cea03ac6e52f5c7ec425ac4df784857713edb (
plain)
1
2
3
4
5
|
[[Adding a semicolon to the end of a line turns it into a statement]]
In Rust we can return from a function with simply an expression at the end of the scope.
The `return` keyword is mostly used for returning early.
|