Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Oct 29, 2023
1 parent 7797bf8 commit 129ca94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acvm-repo/acir/src/circuit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Circuit {
}

pub fn deserialize_circuit(serialized_circuit: &[u8]) -> std::io::Result<Self> {
Circuit::read(&*serialized_circuit)
Circuit::read(serialized_circuit)
}

// Serialize and base64 encode circuit
Expand All @@ -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)
}
}
Expand Down

0 comments on commit 129ca94

Please sign in to comment.