Skip to content

Note on work-around for float_conversions feature - #71

Merged
dhardy merged 3 commits into
masterfrom
push-ktmnstpntluk
Aug 29, 2026
Merged

Note on work-around for float_conversions feature#71
dhardy merged 3 commits into
masterfrom
push-ktmnstpntluk

Conversation

@dhardy

@dhardy dhardy commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary: recommend Cast::cast(x) where x.cast() triggers a warning of conflict with float_conversions feature.

Rationale: this is a minimum-commitment workaround for a conflict with an unstable (and thus uncertain) feature. If the feature lands (especially the additional int→int casts), we should reconsider (e.g. renaming cast or abandoning the library as obsolete — though currently the unstable std lib additions lack trait methods which renders them an incomplete replacement).

@dhardy
dhardy force-pushed the push-ktmnstpntluk branch from 6b07f25 to 64d4936 Compare August 28, 2026 08:52
@dhardy
dhardy merged commit 473af3d into master Aug 29, 2026
4 checks passed
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