# Pass by reference to change external variable - Increment in a function


{% embed include file="src/examples/functions/increment/src/main.rs" %}
{% embed include file="src/examples/functions/increment/out.out" %}


