{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/937","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/937/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/937/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/937/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/pull/937","id":148492899,"number":937,"title":"Fix closures again","user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-14T21:53:15Z","updated_at":"2016-04-14T23:34:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/pulls/937","html_url":"https://github.com/rust-lang-nursery/rustfmt/pull/937","diff_url":"https://github.com/rust-lang-nursery/rustfmt/pull/937.diff","patch_url":"https://github.com/rust-lang-nursery/rustfmt/pull/937.patch"},"body":"Closes #934\r\n\r\nOh god, the rules for parsing closures are even more messed up than I thought - whether or not there is an inner block or depends not only on if there are braces, but also if there is a return type for the closure (!) and if there are statements in the block.\r\n\r\nr? @marcusklaas "},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/comments/210203059","html_url":"https://github.com/rust-lang-nursery/rustfmt/pull/937#issuecomment-210203059","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/937","id":210203059,"user":{"login":"mcarton","id":3751788,"avatar_url":"https://avatars.githubusercontent.com/u/3751788?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarton","html_url":"https://github.com/mcarton","followers_url":"https://api.github.com/users/mcarton/followers","following_url":"https://api.github.com/users/mcarton/following{/other_user}","gists_url":"https://api.github.com/users/mcarton/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarton/subscriptions","organizations_url":"https://api.github.com/users/mcarton/orgs","repos_url":"https://api.github.com/users/mcarton/repos","events_url":"https://api.github.com/users/mcarton/events{/privacy}","received_events_url":"https://api.github.com/users/mcarton/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T23:34:42Z","updated_at":"2016-04-14T23:34:42Z","body":"It only fail with Clippy’s `rustfmt.toml`"}}