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:
@@ -2056,8 +2056,8 @@ mod onboard_people {
|
||||
assert_eq!(tail, 2);
|
||||
|
||||
assert!(
|
||||
!OnboardingQueue::<Test>::get(head).is_empty() &&
|
||||
!OnboardingQueue::<Test>::get(tail).is_empty()
|
||||
!OnboardingQueue::<Test>::get(head).is_empty()
|
||||
&& !OnboardingQueue::<Test>::get(tail).is_empty()
|
||||
);
|
||||
|
||||
for _ in 0..=expected_rings_to_build - 1 {
|
||||
@@ -2662,11 +2662,11 @@ fn on_poll_works() {
|
||||
let merge_pages_weight =
|
||||
<<Test as Config>::WeightInfo as crate::WeightInfo>::merge_queue_pages();
|
||||
|
||||
let expected_consumed = base_weight +
|
||||
step_migration_weight.saturating_mul(5) +
|
||||
end_migrate_db_weight +
|
||||
step_remove_keys_weight +
|
||||
merge_pages_weight;
|
||||
let expected_consumed = base_weight
|
||||
+ step_migration_weight.saturating_mul(5)
|
||||
+ end_migrate_db_weight
|
||||
+ step_remove_keys_weight
|
||||
+ merge_pages_weight;
|
||||
assert_eq!(meter.consumed(), expected_consumed);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user