{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21830","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21830/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21830/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21830/events","html_url":"https://github.com/rust-lang/rust/pull/21830","id":56150086,"number":21830,"title":"cleanup: use the `for x in &xs` form instead of `for x in xs.iter()`","user":{"login":"japaric","id":5018213,"avatar_url":"https://avatars.githubusercontent.com/u/5018213?v=3","gravatar_id":"","url":"https://api.github.com/users/japaric","html_url":"https://github.com/japaric","followers_url":"https://api.github.com/users/japaric/followers","following_url":"https://api.github.com/users/japaric/following{/other_user}","gists_url":"https://api.github.com/users/japaric/gists{/gist_id}","starred_url":"https://api.github.com/users/japaric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japaric/subscriptions","organizations_url":"https://api.github.com/users/japaric/orgs","repos_url":"https://api.github.com/users/japaric/repos","events_url":"https://api.github.com/users/japaric/events{/privacy}","received_events_url":"https://api.github.com/users/japaric/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":6,"created_at":"2015-02-01T03:23:13Z","updated_at":"2015-02-01T15:48:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21830","html_url":"https://github.com/rust-lang/rust/pull/21830","diff_url":"https://github.com/rust-lang/rust/pull/21830.diff","patch_url":"https://github.com/rust-lang/rust/pull/21830.patch"},"body":"This also implements `IntoIterator` for `HashMap`s and `HashSet`s, and changes the conditionals `for x in option.iter()` statements to the more readable form: `if let Some(x) = option`. (The former looks like an ordinary for-loop, the later clearly states conditional execution).\r\n\r\nr? @alexcrichton \r\nThis needs a snapshot before it can land."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/72369900","html_url":"https://github.com/rust-lang/rust/pull/21830#issuecomment-72369900","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21830","id":72369900,"user":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T15:48:41Z","updated_at":"2015-02-01T15:48:41Z","body":":broken_heart: Test failed - [auto-mac-64-opt](http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3394)"}}