rustlings/solutions/01_variables/variables1.rs
Denis-Cosmin NUTIU 06573e87ac initial commit
2024-10-28 22:46:17 +02:00

6 lines
122 B
Rust

fn main() {
// Declaring variables requires the `let` keyword.
let x = 5;
println!("x has the value {x}");
}