{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24720","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24720/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24720/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24720/events","html_url":"https://github.com/rust-lang/rust/pull/24720","id":70426257,"number":24720,"title":"iterator: Add `StepBy::size_hint` method","user":{"login":"critiqjo","id":1436441,"avatar_url":"https://avatars.githubusercontent.com/u/1436441?v=3","gravatar_id":"","url":"https://api.github.com/users/critiqjo","html_url":"https://github.com/critiqjo","followers_url":"https://api.github.com/users/critiqjo/followers","following_url":"https://api.github.com/users/critiqjo/following{/other_user}","gists_url":"https://api.github.com/users/critiqjo/gists{/gist_id}","starred_url":"https://api.github.com/users/critiqjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/critiqjo/subscriptions","organizations_url":"https://api.github.com/users/critiqjo/orgs","repos_url":"https://api.github.com/users/critiqjo/repos","events_url":"https://api.github.com/users/critiqjo/events{/privacy}","received_events_url":"https://api.github.com/users/critiqjo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":10,"created_at":"2015-04-23T14:27:14Z","updated_at":"2015-04-23T18:46:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/24720","html_url":"https://github.com/rust-lang/rust/pull/24720","diff_url":"https://github.com/rust-lang/rust/pull/24720.diff","patch_url":"https://github.com/rust-lang/rust/pull/24720.patch"},"body":"`Iterator::size_hint` can be easily implemented for `StepBy`.\r\n#23708"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/95681776","html_url":"https://github.com/rust-lang/rust/pull/24720#issuecomment-95681776","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/24720","id":95681776,"user":{"login":"critiqjo","id":1436441,"avatar_url":"https://avatars.githubusercontent.com/u/1436441?v=3","gravatar_id":"","url":"https://api.github.com/users/critiqjo","html_url":"https://github.com/critiqjo","followers_url":"https://api.github.com/users/critiqjo/followers","following_url":"https://api.github.com/users/critiqjo/following{/other_user}","gists_url":"https://api.github.com/users/critiqjo/gists{/gist_id}","starred_url":"https://api.github.com/users/critiqjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/critiqjo/subscriptions","organizations_url":"https://api.github.com/users/critiqjo/orgs","repos_url":"https://api.github.com/users/critiqjo/repos","events_url":"https://api.github.com/users/critiqjo/events{/privacy}","received_events_url":"https://api.github.com/users/critiqjo/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T18:46:37Z","updated_at":"2015-04-23T18:46:37Z","body":"\"Fix\" only if the definition of `steps_between` should be changed. Currently `steps_between` means \"number of steps after `start`, until we reach as close to `end` (but without stepping over) as possible\".\r\n\r\nBut `steps_before` (as I defined earler) is logically different. It may return the same result as `steps_between` or a different one, depending whether or not `end` can be stepped on. So defining 2 logically different functions would be good."}}