# match with conditions

* The variable in each arm can be all the same or they can be different.

{% embed include file="src/examples/booleans/match-with-conditions/src/main.rs" %}
{% embed include file="src/examples/booleans/match-with-conditions/out.out" %}


