diff --git a/substrate/frame/election-provider-multi-phase/src/benchmarking.rs b/substrate/frame/election-provider-multi-phase/src/benchmarking.rs index 408cbb476e0d..a2289195fd66 100644 --- a/substrate/frame/election-provider-multi-phase/src/benchmarking.rs +++ b/substrate/frame/election-provider-multi-phase/src/benchmarking.rs @@ -289,7 +289,8 @@ mod benchmarks { // We don't directly need the data-provider to be populated, but it is just easy to use it. set_up_data_provider::(v, t); // default bounds are unbounded. - let targets = T::DataProvider::electable_targets(DataProviderBounds::default(), Zero::zero())?; + let targets = + T::DataProvider::electable_targets(DataProviderBounds::default(), Zero::zero())?; let voters = T::DataProvider::electing_voters(DataProviderBounds::default(), Zero::zero())?; let desired_targets = T::DataProvider::desired_targets()?; diff --git a/substrate/frame/staking/src/pallet/mod.rs b/substrate/frame/staking/src/pallet/mod.rs index 69d9a5a33795..b98279f3c80e 100644 --- a/substrate/frame/staking/src/pallet/mod.rs +++ b/substrate/frame/staking/src/pallet/mod.rs @@ -911,7 +911,9 @@ pub mod pallet { /// The election failed. No new era is planned. StakingElectionFailed, /// An account has stopped participating as either a validator or nominator. - Chilled { stash: T::AccountId }, + Chilled { + stash: T::AccountId, + }, /// A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed. PayoutStarted { era_index: EraIndex,