From 66bd9d051b7eb9774329b4ddb736d7be01d5be97 Mon Sep 17 00:00:00 2001 From: grumbach Date: Wed, 19 Oct 2022 19:43:39 +0200 Subject: [PATCH] chore: appease clippy --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2b16315..edf40b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 = (&bytes[PK_SIZE + SIG_SIZE..]).to_vec(); + let v: Vec = (bytes[PK_SIZE + SIG_SIZE..]).to_vec(); Ok(Self(u, v, w)) }