Skip to content

Commit

Permalink
Merge pull request #1337 from matter-labs/slumber-zks-385-resolve-cli…
Browse files Browse the repository at this point in the history
…ppy-issues-obtained-after

Fix clippy lint
  • Loading branch information
popzxc authored Jan 18, 2021
2 parents 5143221 + 2ed3474 commit ba16a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/circuit/src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl<E: Engine> CircuitElement<E> {
pub fn grab(&self) -> Result<E::Fr, SynthesisError> {
self.number
.get_value()
.ok_or_else(|| SynthesisError::AssignmentMissing)
.ok_or(SynthesisError::AssignmentMissing)
}
}

Expand Down

0 comments on commit ba16a2d

Please sign in to comment.