{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-num/num/issues/173","repository_url":"https://api.github.com/repos/rust-num/num","labels_url":"https://api.github.com/repos/rust-num/num/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/rust-num/num/issues/173/comments","events_url":"https://api.github.com/repos/rust-num/num/issues/173/events","html_url":"https://github.com/rust-num/num/issues/173","id":137437468,"number":173,"title":"Support the assignment operator traits like `AddAssign`","user":{"login":"cuviper","id":36186,"avatar_url":"https://avatars.githubusercontent.com/u/36186?v=3","gravatar_id":"","url":"https://api.github.com/users/cuviper","html_url":"https://github.com/cuviper","followers_url":"https://api.github.com/users/cuviper/followers","following_url":"https://api.github.com/users/cuviper/following{/other_user}","gists_url":"https://api.github.com/users/cuviper/gists{/gist_id}","starred_url":"https://api.github.com/users/cuviper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuviper/subscriptions","organizations_url":"https://api.github.com/users/cuviper/orgs","repos_url":"https://api.github.com/users/cuviper/repos","events_url":"https://api.github.com/users/cuviper/events{/privacy}","received_events_url":"https://api.github.com/users/cuviper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-num/num/labels/breaking%20change","name":"breaking change","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rust-num/num/milestones/1","html_url":"https://github.com/rust-num/num/milestones/v0.2.0","labels_url":"https://api.github.com/repos/rust-num/num/milestones/1/labels","id":1584492,"number":1,"title":"v0.2.0","description":"","creator":{"login":"hauleth","id":291639,"avatar_url":"https://avatars.githubusercontent.com/u/291639?v=3","gravatar_id":"","url":"https://api.github.com/users/hauleth","html_url":"https://github.com/hauleth","followers_url":"https://api.github.com/users/hauleth/followers","following_url":"https://api.github.com/users/hauleth/following{/other_user}","gists_url":"https://api.github.com/users/hauleth/gists{/gist_id}","starred_url":"https://api.github.com/users/hauleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hauleth/subscriptions","organizations_url":"https://api.github.com/users/hauleth/orgs","repos_url":"https://api.github.com/users/hauleth/repos","events_url":"https://api.github.com/users/hauleth/events{/privacy}","received_events_url":"https://api.github.com/users/hauleth/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2016-02-15T23:27:34Z","updated_at":"2016-03-01T01:40:53Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-01T01:40:53Z","updated_at":"2016-03-01T01:40:53Z","closed_at":null,"body":"These have been recently stabilized in rust-lang/rust#28235.  We should at least add support for these to our concrete types.\r\n\r\nWe may also want to require them in our traits where we already require the basic `Add` etc., although I'm not sure if that's too much to impose on outside types implementing our traits.  It could instead be something new like `NumAssign: Num + AddAssign + SubAssign +  ...`\r\n\r\nWe'll have to raise our baseline Rust version to 1.8 (once it's released) to support assignment operators, but this feature may be useful enough to finally justify moving up.  That would also enable a few other changes we've had blocked on Rust 1.0."}}