{"action":"created","issue":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/283","labels_url":"https://api.github.com/repos/nrc/rustfmt/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/nrc/rustfmt/issues/283/comments","events_url":"https://api.github.com/repos/nrc/rustfmt/issues/283/events","html_url":"https://github.com/nrc/rustfmt/issues/283","id":105117741,"number":283,"title":"Comments after function names in declarations get removed","user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nrc/rustfmt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-06T21:20:04Z","updated_at":"2015-09-06T21:37:07Z","closed_at":null,"body":"Pre:\r\n```rust\r\nfn foo/*<T: Add>*/(a: T) {\r\n}\r\n```\r\nPost:\r\n```rust\r\nfn foo(a: T) {\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/nrc/rustfmt/issues/comments/138127791","html_url":"https://github.com/nrc/rustfmt/issues/283#issuecomment-138127791","issue_url":"https://api.github.com/repos/nrc/rustfmt/issues/283","id":138127791,"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-06T21:37:07Z","updated_at":"2015-09-06T21:37:07Z","body":"I think this needs more span info in the AST, so it's not going to get fixed any time soon (although the HIR has landed now, so it is possible to start the libsyntax work)."}}