Skip to content

Commit

Permalink
Fix feature = "cargo-clippy" deprecation
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Apostolou <[email protected]>
  • Loading branch information
rex4539 authored and Licenser committed Mar 4, 2024
1 parent c150f5a commit b4c0f75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tremor-script/src/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Note: We ignore the is_* functions for coverage as they effectively are
// only lists

#[cfg_attr(feature = "cargo-clippy", allow(clippy::all, clippy::unwrap_used))]
#[allow(clippy::all, clippy::unwrap_used)]
use crate::parser::g::__ToTriple;
pub use crate::pos::*;
use crate::Value;
Expand Down
13 changes: 5 additions & 8 deletions tremor-script/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ pub(crate) mod g {
}

lalrpop_mod!(
#[cfg_attr(
feature = "cargo-clippy",
allow(
clippy::all,
clippy::unwrap_used,
clippy::unnecessary_unwrap,
clippy::pedantic,
)
#[allow(
clippy::all,
clippy::unwrap_used,
clippy::unnecessary_unwrap,
clippy::pedantic
)]
grammar
);

0 comments on commit b4c0f75

Please sign in to comment.