Skip to content

Use saturating arithmetic functions more #9

@bbarker

Description

@bbarker

e.g. https://doc.rust-lang.org/std/primitive.i32.html#method.saturating_add
This will obviate the need for clamp in most places, I think

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions