Skip to content

Commit

Permalink
fix: Clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Nov 28, 2023
1 parent ff55c35 commit a019f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwifi/src/parsers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn flag_is_set(data: u8, bit: usize) -> bool {
}
}

pub(self) fn flag((input, bit_offset): (&[u8], usize)) -> IResult<(&[u8], usize), bool> {
fn flag((input, bit_offset): (&[u8], usize)) -> IResult<(&[u8], usize), bool> {
if input.is_empty() {
return Err(nom::Err::Incomplete(Needed::new(1)));
}
Expand Down

0 comments on commit a019f53

Please sign in to comment.