Skip to content

Commit

Permalink
Merge pull request #641 from powdr-labs/fix_clippy
Browse files Browse the repository at this point in the history
Fix clippy.
  • Loading branch information
chriseth authored Sep 27, 2023
2 parents 304fd56 + edaa59f commit fcaff36
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions backend/src/pilstark/json_exporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,8 @@ mod test {
}
}
JsonValue::Object(obj) => {
match obj.entry("deps") {
serde_json::map::Entry::Occupied(deps) => {
deps.remove();
}
_ => (),
if let serde_json::map::Entry::Occupied(deps) = obj.entry("deps") {
deps.remove();
}

for (_, e) in obj.iter_mut() {
Expand Down

0 comments on commit fcaff36

Please sign in to comment.