Skip to content

Commit

Permalink
fix clippy error (paritytech#7912)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeywest authored Jan 17, 2021
1 parent 7a79f54 commit d3673c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/support/procedural/src/storage/print_pallet_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ pub fn maybe_print_pallet_upgrade(def: &super::DeclStorageDefExt) {
};

let genesis_config_impl_gen = if genesis_config_def.is_generic {
impl_gen.clone()
impl_gen
} else {
Default::default()
};

let genesis_config_use_gen = if genesis_config_def.is_generic {
use_gen.clone()
use_gen
} else {
Default::default()
};
Expand Down

0 comments on commit d3673c2

Please sign in to comment.