Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed May 27, 2024
1 parent 1304100 commit 2457932
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ debug = false

[workspace.lints.rust]
unsafe_code = "forbid"
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
non_ascii_idents = "warn"
non_local_definitions = 'warn'
Expand All @@ -149,8 +150,8 @@ missing_debug_implementations = "warn"
missing_docs = "warn"

[workspace.lints.clippy]
all = "deny"
pedantic = "deny"
all = "warn" # Downgrade deny-by-default lints
pedantic = "warn"
missing_errors_doc = "warn"
needless_pass_by_value = "warn"
module_name_repetitions = { level = "allow", priority = 1 }
Expand Down

0 comments on commit 2457932

Please sign in to comment.