mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
chore: add mixed_read_write_in_expression clippy correctness lint (#929)
`mixed_read_write_in_expression` checks for a read and a write to the same variable, where whether the read occurs before or after the write depends on the evaluation order of sub-expressions.
This commit is contained in:
@@ -103,6 +103,7 @@ as_underscore = "warn"
|
||||
# TODO: unwrap_used = "warn" # Let’s either handle `None`, `Err` or use `expect` to give a reason.
|
||||
large_stack_frames = "warn"
|
||||
mem_forget = "warn"
|
||||
mixed_read_write_in_expression = "warn"
|
||||
|
||||
# == Style, readability == #
|
||||
semicolon_outside_block = "warn" # With semicolon-outside-block-ignore-multiline = true
|
||||
|
||||
Reference in New Issue
Block a user