Skip to content

Commit

Permalink
deny more clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed Oct 31, 2023
1 parent 4cc1e94 commit 2fa3152
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,20 @@
clippy::panic_in_result_fn,
clippy::unwrap_in_result,
clippy::unwrap_used,
// maybe we should use?
clippy::string_slice,
// additional lints
clippy::empty_loop
clippy::empty_loop,
clippy::correctness,
clippy::needless_borrow,
clippy::cast_lossless,
clippy::obfuscated_if_else,
clippy::index_refutable_slice,
clippy::panic_in_result_fn,
clippy::unwrap_in_result,
clippy::exit,
clippy::todo,
clippy::expect_used,
clippy::unimplemented,
clippy::manual_strip,
)]

extern crate nom;
Expand Down

0 comments on commit 2fa3152

Please sign in to comment.