mirror of
https://github.com/SinTan1729/unscrambler-rust.git
synced 2025-04-15 23:47:42 -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
|
||||
print!("Would you like to do it again? (y/N)");
|
||||
io::stdout().flush().unwrap();
|
||||
let mut responce = String::new();
|
||||
io::stdin().read_line(&mut responce).unwrap();
|
||||
if !(responce.contains("Y") || responce.contains("y")) {
|
||||
let mut response = String::new();
|
||||
io::stdin().read_line(&mut response).unwrap();
|
||||
if !(response.contains("Y") || response.contains("y")) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue