Use checked arithmetic
This hurts readability, but should be worth it for correctness...
This commit is contained in:
@@ -44,3 +44,6 @@ tracing = { version = "0.1.40", default-features = false }
|
||||
tracing-subscriber = { version = "0.3.18", default-features = false }
|
||||
unicode-normalization = { version = "0.1.23", default-features = false }
|
||||
unicode-segmentation = { version = "1.11.0", default-features = false }
|
||||
|
||||
[workspace.lints.clippy]
|
||||
arithmetic_side_effects = "warn"
|
||||
|
||||
Reference in New Issue
Block a user