Latest clippy

This commit is contained in:
Luke Parker
2023-08-01 02:49:31 -04:00
parent c338b92067
commit 53d86e2a29
12 changed files with 21 additions and 13 deletions

View File

@@ -159,7 +159,7 @@ where
// Attempt to get them marked as read
#[rustversion::since(1.66)]
fn mark_read<D: Send + Clone + SecureDigest>(transcript: &mut DigestTranscript<D>) {
fn mark_read<D: Send + Clone + SecureDigest>(transcript: &DigestTranscript<D>) {
// Just get a challenge from the state
let mut challenge = core::hint::black_box(transcript.0.clone().finalize());
challenge.as_mut().zeroize();