Apply clippy::borrow_deref_ref

This commit is contained in:
Eric Huss 2023-05-13 09:44:50 -07:00
parent 45a8575b95
commit dc08e37320
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}