Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Triften Chmil authored and chifflier committed Mar 10, 2021
1 parent e1af822 commit d2f3c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn parse_string(i: &[u8]) -> IResult<&[u8], &[u8]> {
// US-ASCII printable characters without comma
#[inline]
fn is_us_ascii(c: u8) -> bool {
c >= 0x20 && c <= 0x7e && c != 0x2c
(0x20..=0x7e).contains(&c) && c != 0x2c
}

#[inline]
Expand Down

0 comments on commit d2f3c71

Please sign in to comment.