{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23894","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23894/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23894/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23894/events","html_url":"https://github.com/rust-lang/rust/pull/23894","id":65480301,"number":23894,"title":"Make overflow behaviour more obvious in the iterator module of `libcore`","user":{"login":"tbu-","id":6666593,"avatar_url":"https://avatars.githubusercontent.com/u/6666593?v=3","gravatar_id":"","url":"https://api.github.com/users/tbu-","html_url":"https://github.com/tbu-","followers_url":"https://api.github.com/users/tbu-/followers","following_url":"https://api.github.com/users/tbu-/following{/other_user}","gists_url":"https://api.github.com/users/tbu-/gists{/gist_id}","starred_url":"https://api.github.com/users/tbu-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbu-/subscriptions","organizations_url":"https://api.github.com/users/tbu-/orgs","repos_url":"https://api.github.com/users/tbu-/repos","events_url":"https://api.github.com/users/tbu-/events{/privacy}","received_events_url":"https://api.github.com/users/tbu-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"milestone":null,"comments":24,"created_at":"2015-03-31T15:35:20Z","updated_at":"2015-05-06T09:09:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/23894","html_url":"https://github.com/rust-lang/rust/pull/23894","diff_url":"https://github.com/rust-lang/rust/pull/23894.diff","patch_url":"https://github.com/rust-lang/rust/pull/23894.patch"},"body":"Added documentation of the panicking overflow to the `count` and `position`\r\nmethods of `IteratorExt`, also make them more obvious in the code.\r\n\r\nAlso mention that the `Iterator::next` method of the struct returned by\r\n`IteratorExt::enumerate` can panic due to overflow."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/99391836","html_url":"https://github.com/rust-lang/rust/pull/23894#issuecomment-99391836","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23894","id":99391836,"user":{"login":"tbu-","id":6666593,"avatar_url":"https://avatars.githubusercontent.com/u/6666593?v=3","gravatar_id":"","url":"https://api.github.com/users/tbu-","html_url":"https://github.com/tbu-","followers_url":"https://api.github.com/users/tbu-/followers","following_url":"https://api.github.com/users/tbu-/following{/other_user}","gists_url":"https://api.github.com/users/tbu-/gists{/gist_id}","starred_url":"https://api.github.com/users/tbu-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbu-/subscriptions","organizations_url":"https://api.github.com/users/tbu-/orgs","repos_url":"https://api.github.com/users/tbu-/repos","events_url":"https://api.github.com/users/tbu-/events{/privacy}","received_events_url":"https://api.github.com/users/tbu-/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T09:09:47Z","updated_at":"2015-05-06T09:09:47Z","body":"@pnkfelix Updated it."}}