# Rust infers the type of variables

* Rust Infers (deducts) the type from the other types of other variables and from the operation on the variable.
* "guess the type" is probably not a good metaphor as there is no guessing in it.

{% embed include file="src/examples/types/infer-type/src/main.rs" %}


