{"action":"opened","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/391","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/391/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/391/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/391","id":111361530,"number":391,"title":"match_bool","user":{"login":"llogiq","id":4200835,"avatar_url":"https://avatars.githubusercontent.com/u/4200835?v=3","gravatar_id":"","url":"https://api.github.com/users/llogiq","html_url":"https://github.com/llogiq","followers_url":"https://api.github.com/users/llogiq/followers","following_url":"https://api.github.com/users/llogiq/following{/other_user}","gists_url":"https://api.github.com/users/llogiq/gists{/gist_id}","starred_url":"https://api.github.com/users/llogiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llogiq/subscriptions","organizations_url":"https://api.github.com/users/llogiq/orgs","repos_url":"https://api.github.com/users/llogiq/repos","events_url":"https://api.github.com/users/llogiq/events{/privacy}","received_events_url":"https://api.github.com/users/llogiq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/E-easy","name":"E-easy","color":"009800"},{"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/L-lint","name":"L-lint","color":"fef2c0"},{"url":"https://api.github.com/repos/Manishearth/rust-clippy/labels/T-middle","name":"T-middle","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T09:48:06Z","updated_at":"2015-10-14T09:48:06Z","closed_at":null,"body":"```\r\nmatch some_bool {\r\n    true => x(..)\r\n    false => y(..)\r\n}\r\n// should be written as \r\nif some_bool { x(..) } else { y(..) }\r\n```"}}