Skip to content

Commit 055129e

Browse files
committed
Make clippy happy
1 parent cf1a456 commit 055129e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/test-utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,12 @@ pub fn compile_solidity_contract(
564564
let abi = if let serde_json::Value::Array(data) = &output["contracts"]["input.sol"][name]["abi"]
565565
{
566566
data.iter()
567-
.cloned()
568567
.filter(|val| {
569568
// ethabi doesn't yet support error types so we just filter them out for now
570569
// https://github.com/rust-ethereum/ethabi/issues/225
571570
val["type"] != "error"
572571
})
572+
.cloned()
573573
.collect::<Vec<_>>()
574574
} else {
575575
vec![]

0 commit comments

Comments
 (0)