Skip to content

Conversation

@Techcable
Copy link
Owner

@Techcable Techcable commented Aug 30, 2024

This seems like it would be very useful.

This method is NOT something that is present in the standard library, or part of strict_overflow_ops feature.

Also add checked_cast method for parity with stdlib methods.

The PrimInt trait could conflict with num_traits::PrimInt.
However, it seems that num_traits does not currently have a checked_cast method, so the method names won't conflict.

NOTE: Also bumps version to v0.1.1

This method is NOT something that is present in the standard library, or part of `strict_overflow_ops` feature

Also add checked_cast method for parity with stdlib methods.
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.

2 participants