Variables
You can declare a variable the following way:
#![allow(unused)] fn main() { let x: i32 = 2; }
Currently you always have to specify the type on the left hand side.
You can declare a variable the following way:
#![allow(unused)] fn main() { let x: i32 = 2; }
Currently you always have to specify the type on the left hand side.