-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From<usize>
missing for u64
#106050
Comments
It's probably because in the future platforms with usize > 64 bits might be added and this would lead to backwards compatability issues. |
Perhaps this should be a documentation issue, given that, since it isn't clear from what is present for the |
This was previously brought up in #30495. The issue is that in the future we may have 128-bit CPUs where |
Yeah, that definitely sounds right. Thank you guys for clarifying so quickly! |
Why doesn't
u64
implementFrom<usize>
? The transformation is infallible.The text was updated successfully, but these errors were encountered: