Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jun 15, 2024
1 parent 1be66d4 commit 477a85e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/project/src/compilers/solc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ impl Compiler for SolcCompiler {
#[cfg(feature = "svm-solc")]
Self::AutoDetect => Solc::find_or_install(&input.version)?,
};
solc.base_path = input.base_path.clone();
solc.allow_paths = input.allow_paths.clone();
solc.include_paths = input.include_paths.clone();
solc.base_path.clone_from(&input.base_path);
solc.allow_paths.clone_from(&input.allow_paths);
solc.include_paths.clone_from(&input.include_paths);

let solc_output = solc.compile(&input.input)?;

Expand Down

0 comments on commit 477a85e

Please sign in to comment.