From 49b3cc9b4511e7831c945e372ee22c3b28f7f329 Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Fri, 20 Sep 2024 21:42:01 +0300 Subject: [PATCH] Update mod.rs --- crates/compilers/src/artifact_output/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compilers/src/artifact_output/mod.rs b/crates/compilers/src/artifact_output/mod.rs index 3c7444a2..681cd45a 100644 --- a/crates/compilers/src/artifact_output/mod.rs +++ b/crates/compilers/src/artifact_output/mod.rs @@ -377,7 +377,7 @@ impl Artifacts { }) } - /// 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)| {