Types & Type Inference (Rust)

Rust is statically and strongly typed: every value has a type known at compile time. Type inference lets you usually skip writing types, while the compiler…