1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-14 11:22:55 +02:00
rustlings/exercises/01_variables/variables1.rs

7 lines
97 B
Rust
Raw Normal View History

2015-09-17 02:19:24 +02:00
fn main() {
2024-05-21 01:47:57 +02:00
// TODO: Add missing keyword.
2015-09-17 02:19:24 +02:00
x = 5;
2024-05-21 01:47:57 +02:00
println!("x has the value {x}");
2015-09-17 02:19:24 +02:00
}