Skip to content

Commit

Permalink
Apply more clippy restriction lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 21, 2023
1 parent fe54ed6 commit f523616
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,19 @@ syn-mid = "0.5"
)
))]
#![forbid(unsafe_code)]
#![warn(rust_2018_idioms, single_use_lifetimes, unreachable_pub)]
#![warn(
rust_2018_idioms,
single_use_lifetimes,
unreachable_pub,
clippy::pedantic,
// lints for public library
// Lints that may help when writing public library.
// missing_debug_implementations,
// missing_docs,
clippy::alloc_instead_of_core,
// clippy::exhaustive_enums, // TODO
// clippy::exhaustive_structs, // TODO
clippy::impl_trait_in_params,
// clippy::missing_inline_in_public_items,
// clippy::std_instead_of_alloc,
clippy::std_instead_of_core,
)]
Expand Down

0 comments on commit f523616

Please sign in to comment.