Type Inference
When we use a let
to declare a new variable, we have the option to give it a type. In other words, both of the let
s below are valid Rust:
Get hands-on with 1400+ tech skills courses.
When we use a let
to declare a new variable, we have the option to give it a type. In other words, both of the let
s below are valid Rust:
Get hands-on with 1400+ tech skills courses.