// plain
A variable in Rust can be declared without initializing it. This is done by using the let
keyword followed by the variable name.
let x;
This will declare a variable x
without initializing it.
let
: keyword used to declare a variablex
: name of the variable
group: rust-variables