Skip to content

Commit 305ec6a

Browse files
authored
chore: clippy (#236)
1 parent 4a49c1b commit 305ec6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/artifacts/solc/src/configurable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl ConfigurableContractArtifact {
9191
impl From<ConfigurableContractArtifact> for CompactContractBytecode {
9292
fn from(artifact: ConfigurableContractArtifact) -> Self {
9393
Self {
94-
abi: artifact.abi.map(Into::into),
94+
abi: artifact.abi,
9595
bytecode: artifact.bytecode,
9696
deployed_bytecode: artifact.deployed_bytecode,
9797
}

crates/artifacts/solc/src/contract.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl From<Contract> for ContractBytecode {
118118
(None, None)
119119
};
120120

121-
Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode }
121+
Self { abi: c.abi, bytecode, deployed_bytecode }
122122
}
123123
}
124124

@@ -174,7 +174,7 @@ impl From<Contract> for CompactContractBytecode {
174174
(None, None)
175175
};
176176

177-
Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode }
177+
Self { abi: c.abi, bytecode, deployed_bytecode }
178178
}
179179
}
180180

0 commit comments

Comments
 (0)