examples: Remove some unnecessary clones

This commit is contained in:
str4d 2021-05-26 22:49:18 +01:00 committed by GitHub
parent fe2ab0bc7b
commit da465bb718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ impl<F: FieldExt> Table16Chip<F> {
let message_schedule = MessageScheduleConfig::configure(
meta,
lookup_inputs.clone(),
lookup_inputs,
message_schedule,
extras,
perm,
@ -237,7 +237,7 @@ impl<F: FieldExt> Sha256Instructions<F> for Table16Chip<F> {
initialized_state: &Self::State,
input: [Self::BlockWord; super::BLOCK_SIZE],
) -> Result<Self::State, Error> {
let config = self.config().clone();
let config = self.config();
let (_, w_halves) = config.message_schedule.process(layouter, input)?;
config
.compression