-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(buffer): Consistent cmp vs == for Priority (#4022)
Derive `Priority::Eq` from `Priority::PartialOrd`. After INC-875, the custom `Ord` implementation for `Priority` was a suspect for occurring panics rust-lang/rust#129561. It turned out the panic occurred somewhere else, but making `Eq` and `PartialOrd` consistent cannot hurt.
- Loading branch information
Showing
1 changed file
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters