Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Jan 8, 2024
1 parent 630e5a6 commit 76a86f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_proofs/src/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ where
// Version byte that will be checked on read.
writer.write_all(&[VERSION])?;
let k = &self.domain.k();
assert!(*k <= C::Scalar::S as u32);
assert!(*k <= C::Scalar::S);
// k value fits in 1 byte
writer.write_all(&[*k as u8])?;
writer.write_all(&[self.compress_selectors as u8])?;
Expand Down

0 comments on commit 76a86f0

Please sign in to comment.