Skip to content

Commit

Permalink
remove 'new_without_default' lint
Browse files Browse the repository at this point in the history
  • Loading branch information
saibatizoku committed Oct 12, 2021
1 parent 172a8f5 commit 1c45e90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chain-impl-mockchain/src/testing/ledger.rs
Expand Up @@ -71,6 +71,12 @@ pub struct ConfigBuilder {
evm_params: EvmConfigParams,
}

impl Default for ConfigBuilder {
fn default() -> Self {
ConfigBuilder::new()
}
}

impl ConfigBuilder {
pub fn new() -> Self {
ConfigBuilder {
Expand Down

0 comments on commit 1c45e90

Please sign in to comment.