From 6192c22c19164aca605dc14dd9c21dbc7f873226 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Tue, 7 Jun 2022 00:34:39 -0500 Subject: [PATCH] Renamed variable --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index d23f0c0..101de63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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; } }