new lints

This commit is contained in:
Diva M 2023-03-10 14:05:49 -05:00
parent 61b12c2eff
commit 9e30c3c169
No known key found for this signature in database
GPG Key ID: 1BAE5E01126680FE
2 changed files with 1 additions and 2 deletions

View File

@ -1698,7 +1698,6 @@ mod tests {
fn get_queued_attestations() -> Vec<QueuedAttestation> { fn get_queued_attestations() -> Vec<QueuedAttestation> {
(1..4) (1..4)
.into_iter()
.map(|i| QueuedAttestation { .map(|i| QueuedAttestation {
slot: Slot::new(i), slot: Slot::new(i),
attesting_indices: vec![], attesting_indices: vec![],

View File

@ -266,7 +266,7 @@ where
} }
/// Hashes the `self.serialize()` bytes. /// Hashes the `self.serialize()` bytes.
#[allow(clippy::derive_hash_xor_eq)] #[allow(clippy::derived_hash_with_manual_eq)]
impl<Pub, AggPub, Sig, AggSig> Hash for GenericAggregateSignature<Pub, AggPub, Sig, AggSig> impl<Pub, AggPub, Sig, AggSig> Hash for GenericAggregateSignature<Pub, AggPub, Sig, AggSig>
where where
Sig: TSignature<Pub>, Sig: TSignature<Pub>,