Use checked arithmetic

This hurts readability, but should be worth it for correctness...
This commit is contained in:
Teoh Han Hui 2024-07-26 11:09:35 +08:00
parent a5913cc3d7
commit 28f98a40fb
No known key found for this signature in database
GPG key ID: D43E2BABAF97DCAE
7 changed files with 434 additions and 206 deletions

View file

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