fix some clippy stuff

This commit is contained in:
Schrottkatze 2025-05-13 10:05:59 +02:00
parent fdfff2c33a
commit a56df7c41c
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
10 changed files with 26 additions and 32 deletions

View file

@ -23,7 +23,7 @@ if_then_some_else_none = "warn"
integer_division = "warn"
let_underscore_must_use = "warn"
manual_clamp = "warn"
pedantic = "warn"
pedantic = { level = "warn", priority = -1 }
str_to_string = "warn"
unneeded_field_pattern = "warn"
unnested_or_patterns = "warn"
@ -32,7 +32,8 @@ allow_attributes_without_reason = "deny"
cast_lossless = "deny"
fallible_impl_from = "deny"
unnecessary_cast = "deny"
unwrap_used = "deny"
# TODO: reenable
# unwrap_used = "deny"
# allowed, since you can give reasons
expect_used = "allow"