Skip to content

Commit 8f8d69c

Browse files
committed
chore: Fix clippy
1 parent dbe377a commit 8f8d69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub(crate) fn parse_opts(mut input: &[u8]) -> Option<Opts> {
6262

6363
if name.eq_ignore_ascii_case("blksize") {
6464
if let Ok(val) = u16::from_str(val) {
65-
if val >= 8 && val <= 65464 {
65+
if (8..=65464).contains(&val) {
6666
opts.block_size = Some(val);
6767
}
6868
}

0 commit comments

Comments
 (0)