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:
@@ -913,8 +913,8 @@ pub(crate) fn sanitize_bitfields<T: crate::inclusion::Config>(
|
||||
continue;
|
||||
}
|
||||
|
||||
if unchecked_bitfield.unchecked_payload().0.clone() & disputed_bitfield.0.clone() !=
|
||||
all_zeros
|
||||
if unchecked_bitfield.unchecked_payload().0.clone() & disputed_bitfield.0.clone()
|
||||
!= all_zeros
|
||||
{
|
||||
log::trace!(
|
||||
target: LOG_TARGET,
|
||||
@@ -1345,8 +1345,8 @@ fn filter_backed_statements_from_disabled_validators<
|
||||
// By filtering votes we might render the candidate invalid and cause a failure in
|
||||
// [`process_candidates`]. To avoid this we have to perform a sanity check here. If there
|
||||
// are not enough backing votes after filtering we will remove the whole candidate.
|
||||
if bc.validity_votes().len() <
|
||||
effective_minimum_backing_votes(validator_group.len(), minimum_backing_votes)
|
||||
if bc.validity_votes().len()
|
||||
< effective_minimum_backing_votes(validator_group.len(), minimum_backing_votes)
|
||||
{
|
||||
log::debug!(
|
||||
target: LOG_TARGET,
|
||||
|
||||
Reference in New Issue
Block a user