{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30466","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30466/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30466/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30466/events","html_url":"https://github.com/rust-lang/rust/pull/30466","id":123006792,"number":30466,"title":"std: Move overflowing ops to inherent methods","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-12-18T18:57:55Z","updated_at":"2016-01-12T05:41:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/30466","html_url":"https://github.com/rust-lang/rust/pull/30466","diff_url":"https://github.com/rust-lang/rust/pull/30466.diff","patch_url":"https://github.com/rust-lang/rust/pull/30466.patch"},"body":"This commit migrates all of the methods on `num::wrapping::OverflowingOps` onto\r\ninherent methods of the integer types. This also fills out some missing gaps in\r\nthe saturating and checked departments such as:\r\n\r\n* `saturating_mul`\r\n* `checked_{neg,rem,shl,shr}`\r\n\r\nThis is done in preparation for stabilization,\r\n\r\ncc #27755"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/170801588","html_url":"https://github.com/rust-lang/rust/pull/30466#issuecomment-170801588","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30466","id":170801588,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T05:41:02Z","updated_at":"2016-01-12T05:41:02Z","body":"@ollie27 ah good point about negating 0!\r\n\r\n@aturon I've updated with hopefully a clarification about shifting and overflow with the mask, although it may still be a little unclear as it's somewhat technical, what do you think?"}}