Skip to content

Commit

Permalink
chore: remove unnecessary lints (#131)
Browse files Browse the repository at this point in the history
Removes unnecessary lints that were left over from previous work.
  • Loading branch information
sdbondi committed Apr 1, 2024
2 parents 58409fa + 3dea366 commit 8eea17f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/nullrng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ use zeroize::Zeroize;
pub(crate) struct NullRng;

impl RngCore for NullRng {
#[allow(unused_variables)]
fn fill_bytes(&mut self, dest: &mut [u8]) {
dest.zeroize();
}

#[allow(unused_variables)]
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), rand_core::Error> {
self.fill_bytes(dest);

Expand Down

0 comments on commit 8eea17f

Please sign in to comment.