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