{"action":"created","issue":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/1097","repository_url":"https://api.github.com/repos/intellij-rust/intellij-rust","labels_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/1097/labels{/name}","comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/1097/comments","events_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/1097/events","html_url":"https://github.com/intellij-rust/intellij-rust/issues/1097","id":217373189,"number":1097,"title":"Fold one line methods","user":{"login":"matklad","id":1711539,"avatar_url":"https://avatars0.githubusercontent.com/u/1711539?v=3","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"labels":[{"id":279706113,"url":"https://api.github.com/repos/intellij-rust/intellij-rust/labels/up%20for%20grab","name":"up for grab","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-27T20:58:01Z","updated_at":"2017-04-10T07:48:27Z","closed_at":"2017-04-10T07:48:27Z","body":"It would be nice if one liners like\r\n\r\n```Rust\r\npub fn root(&self) -> Node {\r\n    Node { id: self.root, file: self }\r\n}\r\n```\r\n\r\nWere folded by default, as in Java:\r\n\r\n![one-line-method](https://cloud.githubusercontent.com/assets/1711539/24377779/31170b9e-1349-11e7-8de5-91556a8e4b06.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/comments/292874579","html_url":"https://github.com/intellij-rust/intellij-rust/issues/1097#issuecomment-292874579","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/1097","id":292874579,"user":{"login":"matklad","id":1711539,"avatar_url":"https://avatars0.githubusercontent.com/u/1711539?v=3","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"created_at":"2017-04-10T07:48:27Z","updated_at":"2017-04-10T07:48:27Z","body":"Yep!"}}
{"actor":{"display_login":"matklad"}}