Skip to content

Commit

Permalink
Fix another clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vruello committed Oct 27, 2023
1 parent 57c2be1 commit f881a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub fn confirm(message: &str) -> bool {
io::stdout().flush().unwrap();
let mut input = String::new();
match io::stdin().read_line(&mut input) {
Ok(n) if n == 2 => return input.to_ascii_lowercase().trim() == "y",
Ok(2) => return input.to_ascii_lowercase().trim() == "y",
_ => (),
};
}
Expand Down

0 comments on commit f881a5f

Please sign in to comment.