{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/56342","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/56342/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/56342/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/56342/events","html_url":"https://github.com/rust-lang/rust/pull/56342","id":385731476,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NjMzNjMz","number":56342,"title":"Improve docs for collecting into `Option`s","user":{"login":"killercup","id":20063,"node_id":"MDQ6VXNlcjIwMDYz","avatar_url":"https://avatars1.githubusercontent.com/u/20063?v=4","gravatar_id":"","url":"https://api.github.com/users/killercup","html_url":"https://github.com/killercup","followers_url":"https://api.github.com/users/killercup/followers","following_url":"https://api.github.com/users/killercup/following{/other_user}","gists_url":"https://api.github.com/users/killercup/gists{/gist_id}","starred_url":"https://api.github.com/users/killercup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killercup/subscriptions","organizations_url":"https://api.github.com/users/killercup/orgs","repos_url":"https://api.github.com/users/killercup/repos","events_url":"https://api.github.com/users/killercup/events{/privacy}","received_events_url":"https://api.github.com/users/killercup/received_events","type":"User","site_admin":false},"labels":[{"id":583426710,"node_id":"MDU6TGFiZWw1ODM0MjY3MTA=","url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-review","name":"S-waiting-on-review","color":"d3dddd","default":false}],"state":"open","locked":false,"assignee":{"login":"bluss","id":3209739,"node_id":"MDQ6VXNlcjMyMDk3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3209739?v=4","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"assignees":[{"login":"bluss","id":3209739,"node_id":"MDQ6VXNlcjMyMDk3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3209739?v=4","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-29T13:16:43Z","updated_at":"2018-12-23T14:42:05Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/56342","html_url":"https://github.com/rust-lang/rust/pull/56342","diff_url":"https://github.com/rust-lang/rust/pull/56342.diff","patch_url":"https://github.com/rust-lang/rust/pull/56342.patch"},"body":"Changes the original example to use more idiomatic formatting as well\r\nas `.checked_add`. Also adds a second example to show a case where the\r\n`.collect` returns `None`."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/449640733","html_url":"https://github.com/rust-lang/rust/pull/56342#issuecomment-449640733","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/56342","id":449640733,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTY0MDczMw==","user":{"login":"killercup","id":20063,"node_id":"MDQ6VXNlcjIwMDYz","avatar_url":"https://avatars1.githubusercontent.com/u/20063?v=4","gravatar_id":"","url":"https://api.github.com/users/killercup","html_url":"https://github.com/killercup","followers_url":"https://api.github.com/users/killercup/followers","following_url":"https://api.github.com/users/killercup/following{/other_user}","gists_url":"https://api.github.com/users/killercup/gists{/gist_id}","starred_url":"https://api.github.com/users/killercup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killercup/subscriptions","organizations_url":"https://api.github.com/users/killercup/orgs","repos_url":"https://api.github.com/users/killercup/repos","events_url":"https://api.github.com/users/killercup/events{/privacy}","received_events_url":"https://api.github.com/users/killercup/received_events","type":"User","site_admin":false},"created_at":"2018-12-23T14:42:05Z","updated_at":"2018-12-23T14:42:05Z","author_association":"MEMBER","body":"Sorry, totally missed that comment, @bluss! Added this:\r\n\r\n> We use the checked variant of `add` that returns `None` when the calculation would result in an overflow."}}
{"actor":{"display_login":"killercup"}}