-
Notifications
You must be signed in to change notification settings - Fork 131
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
[feature request] Remove Copy
bound from Real
#245
Labels
Comments
Just an added thought - If this change is made, it may be a good time to add |
LucaCiucci
added a commit
to LucaCiucci/num-traits
that referenced
this issue
Aug 18, 2023
Relevan issue: rust-num#245
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basically the reverse request of #243 - Currently,
Real
impliesCopy
, which restricts it from being implemented for real-value types that use non-copy internals (for example, a type that represents values as whole fractions backed by aBigInt
). TheCopy
bound doesn't seem to be actually useful to the trait, and more like a holdover from when it was split out fromFloat
.This would be a breaking change unfortunately.
The text was updated successfully, but these errors were encountered: