Skip to content

Commit

Permalink
refactor: add several clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed May 24, 2023
1 parent ce48588 commit b47439a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,17 @@ tree.
clippy::rest_pat_in_fully_bound_structs,
clippy::match_wildcard_for_single_variants
)]
#![cfg_attr(not(test), deny(clippy::panic))]
#![deny(clippy::exit)]
#![cfg_attr(
not(test),
warn(
clippy::dbg_macro,
clippy::panic,
clippy::print_stderr,
clippy::print_stdout,
clippy::todo
)
)]

mod arena;
pub mod back;
Expand Down

0 comments on commit b47439a

Please sign in to comment.