Skip to content
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

Closed
ijanos opened this issue Apr 14, 2016 · 1 comment
Closed

add support for assignment operators #70

ijanos opened this issue Apr 14, 2016 · 1 comment

Comments

@ijanos
Copy link
Contributor

ijanos commented Apr 14, 2016

Rust 1.8 stabilized assignment operator such as += and -=

I think they would fit the API nicely.

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.
@pitdicker
Copy link
Collaborator

Fixed after #99.

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

No branches or pull requests

2 participants