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:
2025-12-22 17:12:58 +03:00
parent 65b7f5e640
commit 4c8f281051
898 changed files with 8671 additions and 6432 deletions
+5 -4
View File
@@ -160,8 +160,8 @@ impl<T: Config<I>, I: 'static> Pezpallet<T, I> {
if amount < details.min_balance {
return DepositConsequence::BelowMinimum;
}
if !details.is_sufficient &&
!pezframe_system::Pezpallet::<T>::can_accrue_consumers(who, 2)
if !details.is_sufficient
&& !pezframe_system::Pezpallet::<T>::can_accrue_consumers(who, 2)
{
return DepositConsequence::CannotCreate;
}
@@ -209,7 +209,7 @@ impl<T: Config<I>, I: 'static> Pezpallet<T, I> {
T::Holder::balance_on_hold(id.clone(), who),
T::Freezer::frozen_balance(id.clone(), who),
) {
(None, None) =>
(None, None) => {
if rest < details.min_balance {
if keep_alive {
WouldDie
@@ -218,7 +218,8 @@ impl<T: Config<I>, I: 'static> Pezpallet<T, I> {
}
} else {
Success
},
}
},
(maybe_held, maybe_frozen) => {
let frozen = maybe_frozen.unwrap_or_default();
let held = maybe_held.unwrap_or_default();