{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/748","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/748/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/748/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/748","id":125402837,"number":748,"title":"Trait declaration are not formatted","user":{"login":"kali","id":53657,"avatar_url":"https://avatars.githubusercontent.com/u/53657?v=3","gravatar_id":"","url":"https://api.github.com/users/kali","html_url":"https://github.com/kali","followers_url":"https://api.github.com/users/kali/followers","following_url":"https://api.github.com/users/kali/following{/other_user}","gists_url":"https://api.github.com/users/kali/gists{/gist_id}","starred_url":"https://api.github.com/users/kali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kali/subscriptions","organizations_url":"https://api.github.com/users/kali/orgs","repos_url":"https://api.github.com/users/kali/repos","events_url":"https://api.github.com/users/kali/events{/privacy}","received_events_url":"https://api.github.com/users/kali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T14:20:36Z","updated_at":"2016-01-07T14:20:36Z","closed_at":null,"body":"```rust\r\n% cat foo.rs\r\ntrait A<B,C> where\r\nB\r\n:\r\nC { }\r\n\r\nstruct C<B, C> where B: C { }\r\n% rustfmt --write-mode display foo.rs\r\nfoo.rs:\r\n\r\ntrait A<B,C> where\r\nB\r\n:\r\nC { }\r\n\r\nstruct C<B, C>\r\n    where B: C { }\r\n% rustfmt --write-mode coverage foo.rs\r\nfoo.rs:\r\n\r\nXXXXX XXXXXX XXXXX\r\nX\r\nX\r\nX X X\r\n\r\nstruct C<B, C>\r\n    where B: C { }\r\n% rustfmt --version\r\n0.2.1\r\n\r\n```"}}