mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-24 14:37:32 -05:00
6 lines
122 B
Rust
6 lines
122 B
Rust
fn main() {
|
|
// Declaring variables requires the `let` keyword.
|
|
let x = 5;
|
|
|
|
println!("x has the value {x}");
|
|
}
|