remove uselsss partial_cmp with cmp
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
28ac3790c2
commit
ed3a464722
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ impl Service {
|
|||
}
|
||||
}
|
||||
|
||||
pdus.sort_by(|a, b| a.0.partial_cmp(&b.0).expect("u64s can always be compared"));
|
||||
pdus.sort_by(|a, b| a.0.cmp(&b.0));
|
||||
pdus
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue