Skip to content

Commit 9b15b7a

Browse files
committed
clippy
1 parent 4eefc93 commit 9b15b7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/compilers/src/project_util/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl TempProject<MultiCompiler, HardhatArtifacts> {
124124
.artifacts(HardhatArtifacts::default())
125125
.paths(paths)
126126
.build(Default::default())?;
127-
Ok(TempProject::create_new(tmp_dir, inner)?)
127+
Ok(Self::create_new(tmp_dir, inner)?)
128128
}
129129
}
130130

crates/compilers/tests/project.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@ fn can_preprocess_constructors_and_creation_code() {
41664166

41674167
let project = TempProject::hardhat().unwrap();
41684168
project.copy_project_from(&root).unwrap();
4169-
let r = ProjectCompiler::new(&project.project())
4169+
let r = ProjectCompiler::new(project.project())
41704170
.unwrap()
41714171
.with_preprocessor(TestOptimizerPreprocessor)
41724172
.compile();

0 commit comments

Comments
 (0)