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:
Kurdistan Tech Ministry committed 2025-12-23 09:37:11 +03:00
1 parent 3208f208c0
commit abc4c3989b
898 files changed
+8671 -6432

No files matched your search

+11 -8
View File
@@ -488,8 +488,8 @@ async fn await_peer_connections(
loop {
{
let shared = shared.0.lock();
if shared.validation_peers.len() == num_validation_peers &&
shared.collation_peers.len() == num_collation_peers
if shared.validation_peers.len() == num_validation_peers
&& shared.collation_peers.len() == num_collation_peers
{
break;
}
@@ -1516,13 +1516,16 @@ fn network_protocol_versioning_view_update() {
for &(peer_id, peer_set, version) in &peers {
let wire_msg = match (version.into(), peer_set) {
(1, PeerSet::Collation) =>
WireMessage::<protocol_v1::CollationProtocol>::ViewUpdate(view.clone()).encode(),
(2, PeerSet::Collation) =>
WireMessage::<protocol_v2::CollationProtocol>::ViewUpdate(view.clone()).encode(),
(3, PeerSet::Validation) =>
(1, PeerSet::Collation) => {
WireMessage::<protocol_v1::CollationProtocol>::ViewUpdate(view.clone()).encode()
},
(2, PeerSet::Collation) => {
WireMessage::<protocol_v2::CollationProtocol>::ViewUpdate(view.clone()).encode()
},
(3, PeerSet::Validation) => {
WireMessage::<protocol_v3::ValidationProtocol>::ViewUpdate(view.clone())
.encode(),
.encode()
},
_ => unreachable!(),
};
assert_network_actions_contains(