# Define the types in the tuple

* Optionally we can define the types of elements of a tuple.
* This can be useful if we don't want the default types. (e.g the default integer type is `i32`, but here we use `i8`.)

{% embed include file="src/examples/tuples/define-types/src/main.rs" %}
{% embed include file="src/examples/tuples/define-types/out.out" %}


