mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Cleanup our sort usage (#6754)
This commit is contained in:
@@ -57,7 +57,7 @@ impl RegisteredProtocol {
|
||||
id: protocol,
|
||||
supported_versions: {
|
||||
let mut tmp = versions.to_vec();
|
||||
tmp.sort_unstable_by(|a, b| b.cmp(&a));
|
||||
tmp.sort_by(|a, b| b.cmp(&a));
|
||||
tmp
|
||||
},
|
||||
handshake_message,
|
||||
|
||||
Reference in New Issue
Block a user