Fix more clippy lints

This commit is contained in:
Jack Grigg 2021-07-21 12:00:25 +01:00
parent 62f088e2f2
commit cb9366d656
1 changed files with 1 additions and 2 deletions

View File

@ -21,8 +21,7 @@ pub fn circuit_dot_graph<F: Field, ConcreteCircuit: Circuit<F>>(
let mut cs = ConstraintSystem::default();
let config = ConcreteCircuit::configure(&mut cs);
let mut graph = Graph::default();
ConcreteCircuit::FloorPlanner::synthesize(&mut graph, circuit, config, cs.constants.clone())
.unwrap();
ConcreteCircuit::FloorPlanner::synthesize(&mut graph, circuit, config, cs.constants).unwrap();
// Construct the node labels. We need to store these, because tabbycat operates on
// string references, and we need those references to live long enough.