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 47558a2 commit 49b3cc9Copy full SHA for 49b3cc9
crates/compilers/src/artifact_output/mod.rs
@@ -377,7 +377,7 @@ impl<T> Artifacts<T> {
377
})
378
}
379
380
- /// Finds the artifact with matching path and name
+ /// Finds the artifact with a matching path and name
381
pub fn find(&self, contract_path: &Path, contract_name: &str) -> Option<&T> {
382
self.0.iter().filter(|(path, _)| path.as_path() == contract_path).find_map(
383
|(_file, contracts)| {
0 commit comments