mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-31 16:09:57 +00:00
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:
1 parent
3208f208c0
commit
abc4c3989b
898 files changed
+8671
-6432
No files matched your search
@@ -914,7 +914,7 @@ fn next_group_index(
|
||||
group_size: usize,
|
||||
) -> GroupIndex {
|
||||
let next_group = group_index.0 + 1;
|
||||
let num_groups =
|
||||
validator_count / group_size + if !validator_count.is_multiple_of(group_size) { 1 } else { 0 };
|
||||
let num_groups = validator_count / group_size
|
||||
+ if !validator_count.is_multiple_of(group_size) { 1 } else { 0 };
|
||||
GroupIndex::from(next_group % num_groups as u32)
|
||||
}
|
||||
Reference in new issue
Block a user