From dd3e5259e8782d6c8ca4f439be5ecd33b9c84ec1 Mon Sep 17 00:00:00 2001 From: Michael Rosenberg Date: Fri, 16 Feb 2024 17:19:26 -0500 Subject: [PATCH] Made clippy happy --- kem/tests/hpke.rs | 2 +- kem/tests/x3dh.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kem/tests/hpke.rs b/kem/tests/hpke.rs index bdabe25f4..732937e0d 100644 --- a/kem/tests/hpke.rs +++ b/kem/tests/hpke.rs @@ -29,7 +29,7 @@ impl Decapsulate for PrivateKey { type Error = HpkeError; fn decapsulate(&self, encapped_key: &EncappedKey) -> Result { - ::decap(&self.0, None, &encapped_key) + ::decap(&self.0, None, encapped_key) } } diff --git a/kem/tests/x3dh.rs b/kem/tests/x3dh.rs index d3c688fc6..5b3de9f41 100644 --- a/kem/tests/x3dh.rs +++ b/kem/tests/x3dh.rs @@ -88,7 +88,7 @@ impl Decapsulate for DecapContext { let sender_pubkey = &self.1; // Now decapsulate - Ok(x3dh_b(sender_pubkey, spk, &ek, ik, opk)) + Ok(x3dh_b(sender_pubkey, spk, ek, ik, opk)) } }