blob: e9f4bf1a435d958d1553b1a0dc692f8fabfe52d7 (
plain)
1
2
3
4
|
[[Rust]]
[[How to return from a function]]
Any line that ends with a semicolon is a statement, thus it returns no value. A line ending without a semicolon is an expression that returns a value.
|