mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2025-09-24 23:41:30 +02:00
fix clippy warnings or disable unneeded lints
This commit is contained in:
parent
6af2c7c02c
commit
daa551caa3
10 changed files with 88 additions and 79 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -32,7 +32,7 @@ unneeded_field_pattern = "warn"
|
|||
unnested_or_patterns = "warn"
|
||||
|
||||
allow_attributes_without_reason = "deny"
|
||||
cast_lossles = "deny"
|
||||
cast_lossless = "deny"
|
||||
fallible_impl_from = "deny"
|
||||
unnecessary_cast = "deny"
|
||||
unwrap_used = "deny"
|
||||
|
@ -40,5 +40,11 @@ unwrap_used = "deny"
|
|||
expect_used = "allow"
|
||||
|
||||
# must be allowed with clearly documented reasons
|
||||
indexing_slicing = "warn"
|
||||
indexing_slicing = "allow"
|
||||
|
||||
module_name_repetitions = "allow"
|
||||
must_use_candidate = "allow"
|
||||
|
||||
# TODO: more granular and clean
|
||||
missing_panics_doc = "allow"
|
||||
missing_errors_doc = "allow"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue