mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
Use a backwards compatible clippy lint for impl Hash
This commit is contained in:
parent
c358090f16
commit
0b8a4ab3d0
1 changed files with 2 additions and 0 deletions
|
@ -425,7 +425,9 @@ macro_rules! dalek_group {
|
|||
// 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
|
||||
// use cases for public key -> value lookups
|
||||
#[allow(unknown_lints)]
|
||||
#[allow(clippy::derived_hash_with_manual_eq)]
|
||||
#[allow(clippy::derived_hash_xor_eq)]
|
||||
impl Hash for $Point {
|
||||
fn hash<H: Hasher>(&self, state: &mut H) {
|
||||
self.to_bytes().hash(state);
|
||||
|
|
Loading…
Reference in a new issue