# Return the last expression (no return)


* If the last thing in the function is an expression (no semi-colon at the end) then this is the returned value.
* No need for the `return` statement.

{% embed include file="src/examples/functions/return-integer-expression/src/main.rs" %}
{% embed include file="src/examples/functions/return-integer-expression/out.out" %}


