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

11 lines
138 B
Rust
Raw Normal View History

2015-09-17 02:19:24 +02:00
// Make me compile!
fn main() {
let x;
if x == 10 {
println!("Ten!");
} else {
println!("Not ten!");
}
}