double assign
This commit is contained in:
parent
3d301b504c
commit
e34243d7d8
@ -33,7 +33,6 @@ pub fn setup() -> String {
|
|||||||
print!("Are you sure? (Y/n) ");
|
print!("Are you sure? (Y/n) ");
|
||||||
stdout.flush().unwrap();
|
stdout.flush().unwrap();
|
||||||
let mut yn = String::new();
|
let mut yn = String::new();
|
||||||
yn = String::new();
|
|
||||||
let _ = stdin.read_line(&mut yn);
|
let _ = stdin.read_line(&mut yn);
|
||||||
|
|
||||||
if yn.to_lowercase() != "n" {
|
if yn.to_lowercase() != "n" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user