Skip to content

Commit

Permalink
style: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed Oct 22, 2021
1 parent eb64b9f commit d21dba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/proofs/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ pub unsafe extern "C" fn fil_merge_window_post_partition_proofs(
match result {
Ok(output) => {
let proof = fil_PoStProof {
registered_proof: registered_proof.into(),
registered_proof,
proof_ptr: output.as_ptr(),
proof_len: output.len(),
};
Expand Down Expand Up @@ -1374,7 +1374,7 @@ pub unsafe extern "C" fn fil_generate_single_window_post_with_vanilla(
match result {
Ok(output) => {
let partition_proof = fil_PartitionSnarkProof {
registered_proof: registered_proof.into(),
registered_proof,
proof_ptr: output.0.as_ptr(),
proof_len: output.0.len(),
};
Expand Down

0 comments on commit d21dba8

Please sign in to comment.