Skip to content

Conversation

@JGBSouza
Copy link

This commit Change common subtraction to saturating_sub for usizeto avoid underflow and improve safety at details_actions. Also, this commit add tests to the DetailsActions functions, increasing it's test coverage

This commit Change common subtraction to `saturating_sub` for `usize`
to avoid underflow and improve safety at details_actions.

Signed-off-by: JGBSouza <[email protected]>
This commit add tests to the DetailsActions functions, increasing it's test coverage

Signed-off-by: JGBSouza <[email protected]>
@JGBSouza JGBSouza changed the title Test/details actions tests: details actions Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant