Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cratiu222 authored Sep 20, 2024
1 parent 47558a2 commit 49b3cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compilers/src/artifact_output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ impl<T> Artifacts<T> {
})
}

/// Finds the artifact with matching path and name
/// Finds the artifact with a matching path and name
pub fn find(&self, contract_path: &Path, contract_name: &str) -> Option<&T> {
self.0.iter().filter(|(path, _)| path.as_path() == contract_path).find_map(
|(_file, contracts)| {
Expand Down

0 comments on commit 49b3cc9

Please sign in to comment.