{"action":"created","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1861","repository_url":"https://api.github.com/repos/Manishearth/rust-clippy","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1861/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1861/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1861/events","html_url":"https://github.com/Manishearth/rust-clippy/pull/1861","id":239453166,"number":1861,"title":"Add example for needless borrowed ref lint and register it","user":{"login":"CBenoit","id":3809077,"avatar_url":"https://avatars2.githubusercontent.com/u/3809077?v=3","gravatar_id":"","url":"https://api.github.com/users/CBenoit","html_url":"https://github.com/CBenoit","followers_url":"https://api.github.com/users/CBenoit/followers","following_url":"https://api.github.com/users/CBenoit/following{/other_user}","gists_url":"https://api.github.com/users/CBenoit/gists{/gist_id}","starred_url":"https://api.github.com/users/CBenoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CBenoit/subscriptions","organizations_url":"https://api.github.com/users/CBenoit/orgs","repos_url":"https://api.github.com/users/CBenoit/repos","events_url":"https://api.github.com/users/CBenoit/events{/privacy}","received_events_url":"https://api.github.com/users/CBenoit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-29T11:49:24Z","updated_at":"2017-06-29T11:58:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/pulls/1861","html_url":"https://github.com/Manishearth/rust-clippy/pull/1861","diff_url":"https://github.com/Manishearth/rust-clippy/pull/1861.diff","patch_url":"https://github.com/Manishearth/rust-clippy/pull/1861.patch"},"body":"Add example for needless borrowed ref lint.\r\nSee https://github.com/Manishearth/rust-clippy/pull/1536. Issue https://github.com/Manishearth/rust-clippy/issues/1434 may be closed after this is merged.\r\n\r\nI found why the lint wasn't \"working\": I forgot to register it in lib.rs after updating my fork. So I fixed that too (and improved my code comments I think).\r\n\r\nLet me know if anything needs to be changed. Thanks!"},"comment":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/comments/311945333","html_url":"https://github.com/Manishearth/rust-clippy/pull/1861#issuecomment-311945333","issue_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/1861","id":311945333,"user":{"login":"oli-obk","id":332036,"avatar_url":"https://avatars1.githubusercontent.com/u/332036?v=3","gravatar_id":"","url":"https://api.github.com/users/oli-obk","html_url":"https://github.com/oli-obk","followers_url":"https://api.github.com/users/oli-obk/followers","following_url":"https://api.github.com/users/oli-obk/following{/other_user}","gists_url":"https://api.github.com/users/oli-obk/gists{/gist_id}","starred_url":"https://api.github.com/users/oli-obk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oli-obk/subscriptions","organizations_url":"https://api.github.com/users/oli-obk/orgs","repos_url":"https://api.github.com/users/oli-obk/repos","events_url":"https://api.github.com/users/oli-obk/events{/privacy}","received_events_url":"https://api.github.com/users/oli-obk/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T11:58:24Z","updated_at":"2017-06-29T11:58:24Z","body":"Do you also want to give the suggestion a try in this PR?"}}
{"actor":{"display_login":"oli-obk"}}