Use a backwards compatible clippy lint for impl Hash

This commit is contained in:
Luke Parker
2023-03-07 04:26:19 -05:00
parent c358090f16
commit 0b8a4ab3d0

View File

@@ -425,7 +425,9 @@ macro_rules! dalek_group {
// Support being used as a key in a table // Support being used as a key in a table
// While it is expensive as a key, due to the field operations required, there's frequently // While it is expensive as a key, due to the field operations required, there's frequently
// use cases for public key -> value lookups // use cases for public key -> value lookups
#[allow(unknown_lints)]
#[allow(clippy::derived_hash_with_manual_eq)] #[allow(clippy::derived_hash_with_manual_eq)]
#[allow(clippy::derived_hash_xor_eq)]
impl Hash for $Point { impl Hash for $Point {
fn hash<H: Hasher>(&self, state: &mut H) { fn hash<H: Hasher>(&self, state: &mut H) {
self.to_bytes().hash(state); self.to_bytes().hash(state);