-
Notifications
You must be signed in to change notification settings - Fork 519
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
add support for assignment operators #70
Comments
ijanos
added a commit
to ijanos/rust-chrono
that referenced
this issue
Oct 1, 2016
Because the non-naive dates are non-copy and the Add/Sub trait is not implemented for references, a clone is needed on on the non-naive types because Add/Sub consumes the value. Requires Rust 1.8 or higher.
Fixed after #99. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rust 1.8 stabilized assignment operator such as
+=
and-=
I think they would fit the API nicely.
The text was updated successfully, but these errors were encountered: