rustlings/exercises/variables/variables4.rs

9 lines
179 B
Rust
Raw Normal View History

2018-02-22 09:09:53 +03:00
// variables4.rs
// Make me compile! Execute the command `rustlings hint variables4` if you want a hint :)
2015-09-17 03:19:24 +03:00
fn main() {
let x: i32;
2022-05-28 03:04:58 +03:00
x = 6;
2015-09-17 03:19:24 +03:00
println!("Number {}", x);
}