1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2024-12-24 03:58:08 -05:00
rustlings/solutions/01_variables/variables1.rs
2024-05-21 01:47:57 +02:00

6 lines
122 B
Rust

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