We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1a763 commit ec5ba21Copy full SHA for ec5ba21
crates/compilers/src/compile/output/contracts.rs
@@ -67,7 +67,6 @@ where
67
/// ```
68
pub fn find_first(&self, contract_name: &str) -> Option<CompactContractRef<'_>> {
69
self.contracts().find_map(|(name, contract)| {
70
- //(name == contract_name).then(|| CompactContractRef::from(contract))
71
(name == contract_name).then(|| contract.as_compact_contract_ref())
72
})
73
}
0 commit comments