Skip to content

Commit

Permalink
chore: Resolve clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiraldez committed Oct 6, 2023
1 parent fe1fb0f commit 07e3988
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions acvm-repo/acvm/src/pwg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,8 @@ impl<'backend, B: BlackBoxFunctionSolver> ACVM<'backend, B> {
self.backend,
self.instruction_pointer,
)
.and_then(|optional_solver| {
Ok(optional_solver
.and_then(|solver| Some(self.brillig_solver.insert(solver))))
.map(|optional_solver| {
optional_solver.map(|solver| self.brillig_solver.insert(solver))
}),
};
match maybe_solver {
Expand Down

0 comments on commit 07e3988

Please sign in to comment.