mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
chore: add lossy_float_literal clippy correctness lint (#926)
This lint checks the float literals that cannot be represented as the underlying type without loss.
This commit is contained in:
@@ -98,6 +98,7 @@ cast_possible_truncation = "warn"
|
||||
cast_possible_wrap = "warn"
|
||||
cast_sign_loss = "warn"
|
||||
float_cmp = "warn"
|
||||
lossy_float_literal = "warn"
|
||||
as_underscore = "warn"
|
||||
# TODO: unwrap_used = "warn" # Let’s either handle `None`, `Err` or use `expect` to give a reason.
|
||||
large_stack_frames = "warn"
|
||||
|
||||
Reference in New Issue
Block a user