style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
@@ -183,7 +183,9 @@ where
|
||||
match call.is_sub_type() {
|
||||
Some(UtilityCall::<Runtime>::batch_all { ref calls })
|
||||
if calls.len() <= max_packed_calls as usize =>
|
||||
calls.iter().collect(),
|
||||
{
|
||||
calls.iter().collect()
|
||||
},
|
||||
Some(_) => vec![],
|
||||
None => vec![call],
|
||||
}
|
||||
|
||||
@@ -71,8 +71,9 @@ impl<AccountId: Decode + Encode, LaneId: Decode + Encode> IdentifyAccount
|
||||
fn into_account(self) -> Self::AccountId {
|
||||
match self {
|
||||
ExplicitOrAccountParams::Explicit(account_id) => account_id,
|
||||
ExplicitOrAccountParams::Params(params) =>
|
||||
PayRewardFromAccount::<(), AccountId, LaneId, ()>::rewards_account(params),
|
||||
ExplicitOrAccountParams::Params(params) => {
|
||||
PayRewardFromAccount::<(), AccountId, LaneId, ()>::rewards_account(params)
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user