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
@@ -100,8 +100,9 @@ mod benchmarks {
assert_eq!(
EnteredUntil::<T>::get().unwrap(),
pezframe_system::Pezpallet::<T>::block_number() +
1u32.into() + T::ExtendDuration::get()
pezframe_system::Pezpallet::<T>::block_number()
+ 1u32.into()
+ T::ExtendDuration::get()
);
Ok(())
}
+8 -8
View File
@@ -345,10 +345,10 @@ fn can_force_release_deposit_with_config_origin() {
assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0)));
assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1)));
run_to(
mock::EnterDuration::get() +
mock::ExtendDuration::get() +
activated_and_extended_at_block +
1,
mock::EnterDuration::get()
+ mock::ExtendDuration::get()
+ activated_and_extended_at_block
+ 1,
);
assert_ok!(SafeMode::force_release_deposit(
@@ -498,10 +498,10 @@ fn can_slash_deposit_with_config_origin() {
assert_ok!(SafeMode::enter(RuntimeOrigin::signed(0)));
assert_ok!(SafeMode::extend(RuntimeOrigin::signed(1)));
run_to(
mock::EnterDuration::get() +
mock::ExtendDuration::get() +
activated_and_extended_at_block +
1,
mock::EnterDuration::get()
+ mock::ExtendDuration::get()
+ activated_and_extended_at_block
+ 1,
);
assert_ok!(SafeMode::force_slash_deposit(