Apply clippy::borrow_deref_ref
This commit is contained in:
parent
45a8575b95
commit
dc08e37320
|
@ -116,5 +116,5 @@ fn confirm() -> bool {
|
|||
io::stdout().flush().unwrap();
|
||||
let mut s = String::new();
|
||||
io::stdin().read_line(&mut s).ok();
|
||||
matches!(&*s.trim(), "Y" | "y" | "yes" | "Yes")
|
||||
matches!(s.trim(), "Y" | "y" | "yes" | "Yes")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue