Skip to content

Commit

Permalink
Fix clippy warnings (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Mar 10, 2023
1 parent 5d6ddde commit 17fbee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub mod protobuf {
impl Eq for Timestamp {}

#[cfg(feature = "std")]
#[allow(clippy::derive_hash_xor_eq)] // Derived logic is correct: comparing the 2 fields for equality
#[allow(clippy::derived_hash_with_manual_eq)] // Derived logic is correct: comparing the 2 fields for equality
impl std::hash::Hash for Timestamp {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
self.seconds.hash(state);
Expand Down

0 comments on commit 17fbee4

Please sign in to comment.