You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing because of the issues encountered with the PR #54442. This can be prototyped in an external library (like cast), and might be addressed by rust-lang/rfcs#2484 as well.
Would rust be willing to take a pull request that implements BitAnd on integer types for all smaller versions of the int?
For example:
This would enable effortless, correct and infallible truncation in generic contexts. Is this problem sophisticated enough to warrant an RFC?
The text was updated successfully, but these errors were encountered: