Skip to content

Commit

Permalink
chore: appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach authored and davidrusu committed Oct 24, 2022
1 parent 98876fc commit 66bd9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ impl Ciphertext {
wbytes.copy_from_slice(&bytes[PK_SIZE..PK_SIZE + SIG_SIZE]);
let w = g2_from_bytes(wbytes)?;

let v: Vec<u8> = (&bytes[PK_SIZE + SIG_SIZE..]).to_vec();
let v: Vec<u8> = (bytes[PK_SIZE + SIG_SIZE..]).to_vec();

Ok(Self(u, v, w))
}
Expand Down

0 comments on commit 66bd9d0

Please sign in to comment.