Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Feb 15, 2024
1 parent 84b9bd9 commit 20b5a2c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/bin/contract-verifier/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,7 @@ impl ContractVerifier {
vec![(file_name, source)].into_iter().collect();
let optimizer = Optimizer {
enabled: request.req.optimization_used,
mode: request
.req
.optimizer_mode
.and_then(|s| s.chars().into_iter().next()),
mode: request.req.optimizer_mode.and_then(|s| s.chars().next()),
};

let settings = Settings {
Expand Down

0 comments on commit 20b5a2c

Please sign in to comment.