{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23708","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23708/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23708/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23708/events","html_url":"https://github.com/rust-lang/rust/issues/23708","id":64333554,"number":23708,"title":"Missing size_hint overrides in some Iterators implementations","user":{"login":"SimonSapin","id":291359,"avatar_url":"https://avatars.githubusercontent.com/u/291359?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-libs","name":"A-libs","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T17:54:33Z","updated_at":"2015-03-25T22:21:26Z","closed_at":null,"body":"Some implementations of `Iterator` don’t override the `size_hint` method (and keep the conservative `(0, None)` default), but should. This includes at least:\r\n\r\n```rust\r\nimpl<A: Int> Iterator for StepBy<A, ::ops::Range<A>>\r\nimpl<A: Int> Iterator for ::ops::RangeFrom<A>\r\nimpl<A: Int> Iterator for RangeStepInclusive<A>\r\n```\r\n\r\nCC @alexcrichton"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/86235790","html_url":"https://github.com/rust-lang/rust/issues/23708#issuecomment-86235790","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23708","id":86235790,"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":"2015-03-25T22:21:26Z","updated_at":"2015-03-25T22:21:26Z","body":"cc @aturon, this may some day tie into `std::num` stabilization and how `Int` is going away."}}