mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-14 11:22:55 +02:00
11 lines
138 B
Rust
11 lines
138 B
Rust
|
// Make me compile!
|
||
|
|
||
|
fn main() {
|
||
|
let x;
|
||
|
if x == 10 {
|
||
|
println!("Ten!");
|
||
|
} else {
|
||
|
println!("Not ten!");
|
||
|
}
|
||
|
}
|