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:
@@ -151,8 +151,8 @@ pub(crate) fn back_candidate(
|
||||
|i| Some(validators[group[i].0 as usize].public().into()),
|
||||
)
|
||||
.ok()
|
||||
.unwrap_or(0) >=
|
||||
threshold;
|
||||
.unwrap_or(0)
|
||||
>= threshold;
|
||||
|
||||
match kind {
|
||||
BackingKind::Unanimous | BackingKind::Threshold => assert!(successfully_backed),
|
||||
@@ -207,8 +207,8 @@ pub(crate) fn run_to_block(
|
||||
}
|
||||
|
||||
pub(crate) fn expected_bits() -> usize {
|
||||
paras::Teyrchains::<Test>::get().len() +
|
||||
configuration::ActiveConfig::<Test>::get().scheduler_params.num_cores as usize
|
||||
paras::Teyrchains::<Test>::get().len()
|
||||
+ configuration::ActiveConfig::<Test>::get().scheduler_params.num_cores as usize
|
||||
}
|
||||
|
||||
fn default_bitfield() -> AvailabilityBitfield {
|
||||
|
||||
Reference in New Issue
Block a user