Skip to content

Commit

Permalink
Apply suggestions from clippy 1.68
Browse files Browse the repository at this point in the history
  • Loading branch information
djc authored and Ralith committed Mar 16, 2023
1 parent 02037e7 commit d31597f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quinn-proto/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<'a> RetryToken<'a> {
/// Stateless reset token
///
/// Used for an endpoint to securely communicate that it has lost state for a connection.
#[allow(clippy::derive_hash_xor_eq)] // Custom PartialEq impl matches derived semantics
#[allow(clippy::derived_hash_with_manual_eq)] // Custom PartialEq impl matches derived semantics
#[derive(Debug, Copy, Clone, Hash)]
pub struct ResetToken([u8; RESET_TOKEN_SIZE]);

Expand Down

0 comments on commit d31597f

Please sign in to comment.