mirror of
https://github.com/SinTan1729/unscrambler-rust.git
synced 2025-04-16 07:57:43 -05:00
Renamed variable
This commit is contained in:
parent
dbf2a7afc9
commit
6192c22c19
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ fn main() {
|
||||||
// ask if we want to go again
|
// ask if we want to go again
|
||||||
print!("Would you like to do it again? (y/N)");
|
print!("Would you like to do it again? (y/N)");
|
||||||
io::stdout().flush().unwrap();
|
io::stdout().flush().unwrap();
|
||||||
let mut responce = String::new();
|
let mut response = String::new();
|
||||||
io::stdin().read_line(&mut responce).unwrap();
|
io::stdin().read_line(&mut response).unwrap();
|
||||||
if !(responce.contains("Y") || responce.contains("y")) {
|
if !(response.contains("Y") || response.contains("y")) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue