{"action":"created","issue":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/254","labels_url":"https://api.github.com/repos/nrc/rustfmt/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/nrc/rustfmt/issues/254/comments","events_url":"https://api.github.com/repos/nrc/rustfmt/issues/254/events","html_url":"https://github.com/nrc/rustfmt/issues/254","id":104960178,"number":254,"title":"Odd placing of opening brace after reformatting long where clause","user":{"login":"cburgdorf","id":521109,"avatar_url":"https://avatars.githubusercontent.com/u/521109?v=3","gravatar_id":"","url":"https://api.github.com/users/cburgdorf","html_url":"https://github.com/cburgdorf","followers_url":"https://api.github.com/users/cburgdorf/followers","following_url":"https://api.github.com/users/cburgdorf/following{/other_user}","gists_url":"https://api.github.com/users/cburgdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/cburgdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburgdorf/subscriptions","organizations_url":"https://api.github.com/users/cburgdorf/orgs","repos_url":"https://api.github.com/users/cburgdorf/repos","events_url":"https://api.github.com/users/cburgdorf/events{/privacy}","received_events_url":"https://api.github.com/users/cburgdorf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-04T20:00:13Z","updated_at":"2015-09-04T22:36:44Z","closed_at":"2015-09-04T22:04:51Z","body":"When rustfmt reformats long where clauses it puts the opening brace on a newline.\r\n\r\n```rust\r\npub fn refresh_workshops<'a, T>(workshops: T)\r\n    where T: Iterator<Item = &'a Workshop>\r\n{\r\n```\r\n\r\nI would have expected this\r\n\r\n```rust\r\npub fn refresh_workshops<'a, T>(workshops: T)\r\n    where T: Iterator<Item = &'a Workshop> {\r\n```"},"comment":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/comments/137872132","html_url":"https://github.com/nrc/rustfmt/issues/254#issuecomment-137872132","issue_url":"https://api.github.com/repos/nrc/rustfmt/issues/254","id":137872132,"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},"created_at":"2015-09-04T22:36:44Z","updated_at":"2015-09-04T22:36:44Z","body":"I think that is true and also the reason it is `Prefer` (not 100% sure though)."}}