remove uselsss partial_cmp with cmp
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
28ac3790c2
commit
ed3a464722
|
@ -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…
Reference in New Issue