# Dispatch table - Calculator

{% embed include file="src/examples/advanced-functions/calculator-dispatch-table-take2/src/main.rs" %}
{% embed include file="src/examples/advanced-functions/calculator-dispatch-table-take2/out.out" %}

See [https://users.rust-lang.org/t/mismatched-types-when-creating-dispatch-table/114527](https://users.rust-lang.org/t/mismatched-types-when-creating-dispatch-table/114527).


