Skip to content

Commit

Permalink
Fix clippy (#2345)
Browse files Browse the repository at this point in the history
clippy
  • Loading branch information
rob-maron authored Dec 2, 2024
1 parent f999be4 commit 886bb77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sequencer/src/options.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::needless_lifetimes)]

use core::fmt::Display;
use jf_signature::{bls_over_bn254, schnorr};
use sequencer_utils::logging;
Expand Down Expand Up @@ -40,7 +42,6 @@ use crate::{api, context::ProposalFetcherConfig, persistence};
// BEST NOT TO ADD REQUIRED ARGUMENTS TO THIS TYPE, since the required arguments will be required
// even if the user is only asking for help on a module. Try to give every argument on this type a
// default value, even if it is a bit arbitrary.

#[derive(Parser, Clone, Derivative)]
#[derivative(Debug(bound = ""))]
pub struct Options {
Expand Down
2 changes: 1 addition & 1 deletion types/src/v0/impls/block/namespace_payload/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl<'a> Iter<'a> {
}
}

impl<'a> Iterator for Iter<'a> {
impl Iterator for Iter<'_> {
type Item = Index;

fn next(&mut self) -> Option<Self::Item> {
Expand Down

0 comments on commit 886bb77

Please sign in to comment.