Skip to content

Commit

Permalink
fixed linting ahhh
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanyli committed Jul 31, 2023
1 parent 8c9c47b commit 3d0b11a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sunscreen_zkp_backend/src/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,8 @@ where
}

#[cfg(feature = "debugger")]
if unsatisfied_constraint.is_some() {
return Err(Error::UnsatisfiableConstraint(
unsatisfied_constraint.unwrap(),
));
if let Some(id) = unsatisfied_constraint {
return Err(Error::UnsatisfiableConstraint(id));
}

jit_common(
Expand Down

0 comments on commit 3d0b11a

Please sign in to comment.