rustlings/exercises/01_variables/variables1.rs

7 lines
101 B
Rust
Raw Normal View History

2015-09-16 20:19:24 -04:00
fn main() {
2024-08-17 08:56:52 -04:00
// TODO: Add the missing keyword.
2015-09-16 20:19:24 -04:00
x = 5;
2024-05-20 19:47:57 -04:00
println!("x has the value {x}");
2015-09-16 20:19:24 -04:00
}