Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
XuyangSong committed Aug 21, 2024
1 parent 7f027ff commit 26da66f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion taiga_halo2/src/circuit/blake2s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ impl<F: PrimeField> Blake2sChip<F> {
// | v[14] := v[14] ^ 0xFF..FF // Invert all bits.
// END IF.
let v_14 = if f {
Blake2sWord::from_constant_u32(IV[6] ^ u32::max_value(), layouter, self)?
Blake2sWord::from_constant_u32(IV[6] ^ u32::MAX, layouter, self)?
} else {
Blake2sWord::from_constant_u32(IV[6], layouter, self)?
};
Expand Down
1 change: 0 additions & 1 deletion taiga_halo2/src/taiga_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ pub fn create_input_resource(
)
}

///
pub fn create_output_resource(
logic: pallas::Base,
label: pallas::Base,
Expand Down

0 comments on commit 26da66f

Please sign in to comment.