fix clippy warnings or disable unneeded lints

This commit is contained in:
Schrottkatze 2023-11-20 11:05:55 +01:00
commit daa551caa3
10 changed files with 88 additions and 79 deletions

View file

@ -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"