Apply clippy::borrow_deref_ref
This commit is contained in:
parent
45a8575b95
commit
dc08e37320
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue