blob: e1c23edf7d9911965a383869b28e05d4f5863329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// variables2.rs
//
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
fn main() {
let x;
if x == 10 {
println!("x is ten!");
} else {
println!("x is not ten!");
}
}
|