From: Alissa Rao Date: Mon, 5 Jul 2021 21:07:53 +0000 (-0700) Subject: Fix a clippy warning in EnumSet. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=1bf6fdc301993f192a0a2496abeaca720c127c56;p=enumset.git Fix a clippy warning in EnumSet. --- diff --git a/enumset/src/lib.rs b/enumset/src/lib.rs index a3f5eab..12f37d1 100644 --- a/enumset/src/lib.rs +++ b/enumset/src/lib.rs @@ -561,6 +561,7 @@ impl Debug for EnumSet { } } +#[allow(clippy::derive_hash_xor_eq)] // This impl exists to change trait bounds only. impl Hash for EnumSet { fn hash(&self, state: &mut H) { self.__priv_repr.hash(state)