{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/34268","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/34268/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/34268/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/34268/events","html_url":"https://github.com/rust-lang/rust/pull/34268","id":160113061,"number":34268,"title":"prefer `if let` to match with `None => ()` arm in some places","user":{"login":"zackmdavis","id":1076988,"avatar_url":"https://avatars.githubusercontent.com/u/1076988?v=3","gravatar_id":"","url":"https://api.github.com/users/zackmdavis","html_url":"https://github.com/zackmdavis","followers_url":"https://api.github.com/users/zackmdavis/followers","following_url":"https://api.github.com/users/zackmdavis/following{/other_user}","gists_url":"https://api.github.com/users/zackmdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/zackmdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackmdavis/subscriptions","organizations_url":"https://api.github.com/users/zackmdavis/orgs","repos_url":"https://api.github.com/users/zackmdavis/repos","events_url":"https://api.github.com/users/zackmdavis/events{/privacy}","received_events_url":"https://api.github.com/users/zackmdavis/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":6,"created_at":"2016-06-14T07:18:53Z","updated_at":"2016-06-15T15:16:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/34268","html_url":"https://github.com/rust-lang/rust/pull/34268","diff_url":"https://github.com/rust-lang/rust/pull/34268.diff","patch_url":"https://github.com/rust-lang/rust/pull/34268.patch"},"body":"Casual grepping revealed some places in the codebase (some of which\r\nantedated `if let`'s December 2014 stabilization in c200ae5a) where we\r\nwere using a match with a `None => ()` arm where (in the present\r\nauthor's opinion) an `if let` conditional would be more readable. (Other\r\nplaces where matching to the unit value did seem to better express the\r\nintent were left alone.)\r\n\r\nIt's likely that we don't care about making such trivial,\r\nnon-functional, sheerly æsthetic changes.\r\n\r\nBut if we do, this is a patch."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/226219792","html_url":"https://github.com/rust-lang/rust/pull/34268#issuecomment-226219792","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/34268","id":226219792,"user":{"login":"zackmdavis","id":1076988,"avatar_url":"https://avatars.githubusercontent.com/u/1076988?v=3","gravatar_id":"","url":"https://api.github.com/users/zackmdavis","html_url":"https://github.com/zackmdavis","followers_url":"https://api.github.com/users/zackmdavis/followers","following_url":"https://api.github.com/users/zackmdavis/following{/other_user}","gists_url":"https://api.github.com/users/zackmdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/zackmdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackmdavis/subscriptions","organizations_url":"https://api.github.com/users/zackmdavis/orgs","repos_url":"https://api.github.com/users/zackmdavis/repos","events_url":"https://api.github.com/users/zackmdavis/events{/privacy}","received_events_url":"https://api.github.com/users/zackmdavis/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T15:16:15Z","updated_at":"2016-06-15T15:16:15Z","body":"\"Semantic indents are _always_ four spaces; if a long if-condition must be broken onto multiple lines, the continuation line _may_ receive either a three-space or eight-space indent, to taste\"?"}}
{"actor":{"display_login":"zackmdavis"}}