1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00

fix(variables): reorder and redo hint texts

This commit is contained in:
mokou
2022-07-11 13:43:41 +02:00
parent c3c21ad91f
commit 81edc4234f
7 changed files with 20 additions and 20 deletions

View File

@ -1,13 +1,13 @@
// variables2.rs
// Make me compile! Execute the command `rustlings hint variables2` if you want a hint :)
// 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!("Ten!");
println!("x is ten!");
} else {
println!("Not ten!");
println!("x is not ten!");
}
}