From 129ca9430f41c6b66f732d954d24ad2d082b32c4 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Sun, 29 Oct 2023 21:02:25 +0000 Subject: [PATCH] clippy --- acvm-repo/acir/src/circuit/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acvm-repo/acir/src/circuit/mod.rs b/acvm-repo/acir/src/circuit/mod.rs index 79199e71d87..bb876bfee3e 100644 --- a/acvm-repo/acir/src/circuit/mod.rs +++ b/acvm-repo/acir/src/circuit/mod.rs @@ -149,7 +149,7 @@ impl Circuit { } pub fn deserialize_circuit(serialized_circuit: &[u8]) -> std::io::Result { - Circuit::read(&*serialized_circuit) + Circuit::read(serialized_circuit) } // Serialize and base64 encode circuit @@ -171,7 +171,7 @@ impl Circuit { let circuit_bytes = base64::engine::general_purpose::STANDARD .decode(bytecode_b64) .map_err(D::Error::custom)?; - let circuit = Self::deserialize_circuit(&*circuit_bytes).map_err(D::Error::custom)?; + let circuit = Self::deserialize_circuit(&circuit_bytes).map_err(D::Error::custom)?; Ok(circuit) } }