Skip to content

Commit

Permalink
fix: remove clippy warn
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Feb 7, 2025
1 parent 1932dde commit 96bd1d6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion crates/derive/src/attributes/stateful.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::unnecessary_map_or)]
//! The [`AttributesBuilder`] and it's default implementation.
use crate::{
Expand Down
1 change: 0 additions & 1 deletion crates/derive/src/stages/batch/batch_validator.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(clippy::unnecessary_map_or)]
//! Contains the [BatchValidator] stage.
use super::NextBatchProvider;
Expand Down
1 change: 0 additions & 1 deletion crates/mpt/src/list_walker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ where
Ok(())
}

#[allow(clippy::missing_const_for_fn)]
/// Takes the inner list of the [OrderedListWalker], returning it and setting the inner list to
/// [None].
pub fn take_inner(&mut self) -> Option<VecDeque<(Bytes, Bytes)>> {
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fmt-native-check:

# Lint the workspace
lint-native: fmt-native-check lint-docs
cargo +nightly clippy --workspace --all --all-features --all-targets -- -D warnings
cargo clippy --workspace --all --all-features --all-targets -- -D warnings

# Lint the workspace (mips arch). Currently, only the `kona-std-fpvm` crate is linted for the `cannon` target, as it is the only crate with architecture-specific code.
lint-cannon:
Expand Down

0 comments on commit 96bd1d6

Please sign in to comment.