{"action":"created","issue":{"url":"https://api.github.com/repos/rust-num/num-traits/issues/52","repository_url":"https://api.github.com/repos/rust-num/num-traits","labels_url":"https://api.github.com/repos/rust-num/num-traits/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/rust-num/num-traits/issues/52/comments","events_url":"https://api.github.com/repos/rust-num/num-traits/issues/52/events","html_url":"https://github.com/rust-num/num-traits/pull/52","id":304471113,"number":52,"title":"Refactor ToPrimitive range checks","user":{"login":"cuviper","id":36186,"avatar_url":"https://avatars1.githubusercontent.com/u/36186?v=4","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-12T17:37:12Z","updated_at":"2018-03-13T21:12:45Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/rust-num/num-traits/pulls/52","html_url":"https://github.com/rust-num/num-traits/pull/52","diff_url":"https://github.com/rust-num/num-traits/pull/52.diff","patch_url":"https://github.com/rust-num/num-traits/pull/52.patch"},"body":"This is a rebase and continuation of PR #28.  The primary benefit is that\r\nfloats finally check for overflow before casting to integers, avoiding\r\nundefined behavior.  Fixes #12.\r\n\r\nThe inter-integer conversions and all of the macros for these have also been\r\ntweaked, hopefully improving readability.  Exhaustive tests have been added for\r\ngood and bad conversions around the target MIN and MAX values.\r\n"},"comment":{"url":"https://api.github.com/repos/rust-num/num-traits/issues/comments/372820231","html_url":"https://github.com/rust-num/num-traits/pull/52#issuecomment-372820231","issue_url":"https://api.github.com/repos/rust-num/num-traits/issues/52","id":372820231,"user":{"login":"bors[bot]","id":26634292,"avatar_url":"https://avatars3.githubusercontent.com/in/1847?v=4","gravatar_id":"","url":"https://api.github.com/users/bors%5Bbot%5D","html_url":"https://github.com/apps/bors","followers_url":"https://api.github.com/users/bors%5Bbot%5D/followers","following_url":"https://api.github.com/users/bors%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/bors%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/bors%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/bors%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/bors%5Bbot%5D/repos","events_url":"https://api.github.com/users/bors%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/bors%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-13T21:12:45Z","updated_at":"2018-03-13T21:12:45Z","author_association":"NONE","body":"# Build succeeded\n  * [continuous-integration/travis-ci/push](https://travis-ci.org/rust-num/num-traits/builds/353055012?utm_source=github_status&utm_medium=notification)"}}
{"actor":{"display_login":"bors"}}