Skip to content

Commit

Permalink
Cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Jan 29, 2025
1 parent 0562ba6 commit 1729e37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/verify/src/etherscan/flatten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Diagnostics: {diags}",
},
solc_version: solc_version.clone(),
cli_settings: CliSettings::default(),
zksolc_path: zksolc_path.clone(),
zksolc_path,
};

let solc_compiler = if compiler_version.is_zksync_solc {
Expand Down
8 changes: 1 addition & 7 deletions crates/zksync/compilers/src/compilers/zksolc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,12 @@ impl ZkSolcOS {
}

/// ZkSolc compiler
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default)]
pub struct ZkSolcCompiler {
/// solc compiler to use along zksolc
pub solc: SolcCompiler,
}

impl Default for ZkSolcCompiler {
fn default() -> Self {
Self { solc: Default::default() }
}
}

impl Compiler for ZkSolcCompiler {
type Input = ZkSolcVersionedInput;
type CompilationError = Error;
Expand Down

0 comments on commit 1729e37

Please sign in to comment.