{"action":"created","issue":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2559","repository_url":"https://api.github.com/repos/intellij-rust/intellij-rust","labels_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2559/labels{/name}","comments_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2559/comments","events_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2559/events","html_url":"https://github.com/intellij-rust/intellij-rust/issues/2559","id":327615374,"number":2559,"title":"Unexpected result when I try to format code.","user":{"login":"da2018","id":16920793,"avatar_url":"https://avatars2.githubusercontent.com/u/16920793?v=4","gravatar_id":"","url":"https://api.github.com/users/da2018","html_url":"https://github.com/da2018","followers_url":"https://api.github.com/users/da2018/followers","following_url":"https://api.github.com/users/da2018/following{/other_user}","gists_url":"https://api.github.com/users/da2018/gists{/gist_id}","starred_url":"https://api.github.com/users/da2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da2018/subscriptions","organizations_url":"https://api.github.com/users/da2018/orgs","repos_url":"https://api.github.com/users/da2018/repos","events_url":"https://api.github.com/users/da2018/events{/privacy}","received_events_url":"https://api.github.com/users/da2018/received_events","type":"User","site_admin":false},"labels":[{"id":785988080,"url":"https://api.github.com/repos/intellij-rust/intellij-rust/labels/bug","name":"bug","color":"F91A16","default":true},{"id":785986585,"url":"https://api.github.com/repos/intellij-rust/intellij-rust/labels/code%20insight","name":"code insight","color":"BCF825","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-30T07:57:49Z","updated_at":"2018-05-30T10:39:25Z","closed_at":"2018-05-30T10:39:25Z","author_association":"NONE","body":"```\r\nuse api::config::Config;\r\n\r\n// ...\r\n#[cfg(test)]\r\nmod tests {\r\n    use api::config::Config;\r\n    use api::client::Client;\r\n    use api::error::Error;\r\n}\r\n```\r\n\r\nchanges to \r\n```\r\nuse api::config::Config;\r\nuse api::config::Config;\r\nuse api::client::Client;\r\n use api::error::Error;\r\n// ...\r\n#[cfg(test)]\r\nmod tests {\r\n}\r\n```\r\n\r\nIs this a bug?\r\n"},"comment":{"url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/comments/393114600","html_url":"https://github.com/intellij-rust/intellij-rust/issues/2559#issuecomment-393114600","issue_url":"https://api.github.com/repos/intellij-rust/intellij-rust/issues/2559","id":393114600,"user":{"login":"Undin","id":2539310,"avatar_url":"https://avatars0.githubusercontent.com/u/2539310?v=4","gravatar_id":"","url":"https://api.github.com/users/Undin","html_url":"https://github.com/Undin","followers_url":"https://api.github.com/users/Undin/followers","following_url":"https://api.github.com/users/Undin/following{/other_user}","gists_url":"https://api.github.com/users/Undin/gists{/gist_id}","starred_url":"https://api.github.com/users/Undin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Undin/subscriptions","organizations_url":"https://api.github.com/users/Undin/orgs","repos_url":"https://api.github.com/users/Undin/repos","events_url":"https://api.github.com/users/Undin/events{/privacy}","received_events_url":"https://api.github.com/users/Undin/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T10:39:25Z","updated_at":"2018-05-30T10:39:25Z","author_association":"MEMBER","body":"Duplicate of #2519"}}
{"actor":{"display_login":"Undin"}}