Skip to content

Commit 5a7b194

Browse files
committed
clippy
1 parent a7de6bf commit 5a7b194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/script/src/verify.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ impl VerifyBundle {
210210

211211
let contract_bytecode_hash = foundry_zksync_core::hash_bytecode(bytecode);
212212
if bytecode_hash == contract_bytecode_hash {
213-
if artifact.source.extension().map_or(false, |e| e.to_str() == Some("vy")) {
213+
if artifact.source.extension().is_some_and(|e| e.to_str() == Some("vy")) {
214214
warn!("Skipping verification of Vyper contract: {}", artifact.name);
215215
}
216216

0 commit comments

Comments
 (0)