remove uselsss partial_cmp with cmp

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-02 19:13:54 -04:00
parent 28ac3790c2
commit ed3a464722

View file

@ -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 pdus
}) })
} }