Skip to content

Commit

Permalink
Merge pull request #720 from gwenn/clippy
Browse files Browse the repository at this point in the history
Fix clippy warning
  • Loading branch information
gwenn authored Aug 4, 2023
2 parents 934a7dc + 788d458 commit 5e63f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tty/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ impl RawReader for PosixRawReader {
self.timeout_ms
};
match self.poll(timeout_ms) {
Ok(n) if n == 0 => {
Ok(0) => {
// single escape
}
Ok(_) => {
Expand Down

0 comments on commit 5e63f1b

Please sign in to comment.