Skip to content

Commit

Permalink
Remove unneeded clippy directives
Browse files Browse the repository at this point in the history
  • Loading branch information
lookbusy1344 committed May 31, 2024
1 parent 6aae648 commit 94f8dd9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/crc32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ pub struct Crc32(Hasher);
impl Crc32 {
/// Creates a new `Crc32`.
#[inline]
#[allow(clippy::must_use_candidate)]
pub fn new() -> Self {
Self(Hasher::new())
}

/// Creates a new `Crc32` initialized with the given state.
#[inline]
#[allow(clippy::must_use_candidate)]
pub fn from_state(state: u32) -> Self {
Self(Hasher::new_with_initial(state))
}
Expand Down

0 comments on commit 94f8dd9

Please sign in to comment.