Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Mar 27, 2024
1 parent 680a65c commit 09356fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neqo-transport/src/packet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ impl<'a> PublicPacket<'a> {
}

#[must_use]
#[allow(clippy::len_without_is_empty)]
pub fn len(&self) -> usize {
self.data.len()
}
Expand Down

0 comments on commit 09356fe

Please sign in to comment.