{"action":"closed","issue":{"url":"https://api.github.com/repos/serde-rs/syntex/issues/31","repository_url":"https://api.github.com/repos/serde-rs/syntex","labels_url":"https://api.github.com/repos/serde-rs/syntex/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/serde-rs/syntex/issues/31/comments","events_url":"https://api.github.com/repos/serde-rs/syntex/issues/31/events","html_url":"https://github.com/serde-rs/syntex/issues/31","id":134351523,"number":31,"title":"syntex generates bad code with top level struct doc comments","user":{"login":"erickt","id":84711,"avatar_url":"https://avatars.githubusercontent.com/u/84711?v=3","gravatar_id":"","url":"https://api.github.com/users/erickt","html_url":"https://github.com/erickt","followers_url":"https://api.github.com/users/erickt/followers","following_url":"https://api.github.com/users/erickt/following{/other_user}","gists_url":"https://api.github.com/users/erickt/gists{/gist_id}","starred_url":"https://api.github.com/users/erickt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickt/subscriptions","organizations_url":"https://api.github.com/users/erickt/orgs","repos_url":"https://api.github.com/users/erickt/repos","events_url":"https://api.github.com/users/erickt/events{/privacy}","received_events_url":"https://api.github.com/users/erickt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T17:48:31Z","updated_at":"2016-02-18T03:32:22Z","closed_at":"2016-02-18T03:32:22Z","body":"This tracks the upstream bug https://github.com/rust-lang/rust/issues/31722, where\r\n\r\n```rust\r\n/// blarg\r\nstruct Foo {\r\n    x: usize,\r\n}\r\n\r\nfn main() {}\r\n```\r\n\r\nIs expanded into:\r\n\r\n```rust\r\n/// blargstruct Foo {\r\n             x: usize,\r\n         }\r\n\r\nfn main() { }\r\n```"}}