Skip to content

Commit

Permalink
stream: update clippy lint name
Browse files Browse the repository at this point in the history
  • Loading branch information
ghedo committed Nov 20, 2023
1 parent a48c6f7 commit 9e00347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quiche/src/stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ impl Eq for StreamPriorityKey {}

impl PartialOrd for StreamPriorityKey {
// Priority ordering is complex, disable Clippy warning.
#[allow(clippy::incorrect_partial_ord_impl_on_ord_type)]
#[allow(clippy::non_canonical_partial_ord_impl)]
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
// Ignore priority if ID matches.
if self.id == other.id {
Expand Down

0 comments on commit 9e00347

Please sign in to comment.