Skip to content

Conversation

@cuviper
Copy link
Member

@cuviper cuviper commented Dec 15, 2025

PrimitiveFloatToInt<{integer}> is now a supertrait of PrimitiveFloat for all primitive integers, so you do not need to use this trait directly with concrete integer types.

However, PrimitiveFloat is no longer a supertrait of PrimitiveFloatToInt, because the compiler does not allow such cycles. That makes this a semver-breaking change, so we need to bump the version number.

@cuviper cuviper added this pull request to the merge queue Dec 15, 2025
Merged via the queue into rust-num:main with commit 2314842 Dec 15, 2025
9 checks passed
@cuviper cuviper deleted the super-float-to-int branch December 16, 2025 23:56
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