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

@ -53,3 +53,6 @@ default = ["autocomplete", "color", "macchina"]
autocomplete = ["bpaf/autocomplete"]
color = ["bpaf/dull-color"]
macchina = ["dep:anstream", "dep:toml_edit", "toml_edit/display"]
[lints]
workspace = true