{"action":"opened","issue":{"url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/104","labels_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/104/comments","events_url":"https://api.github.com/repos/Manishearth/rust-clippy/issues/104/events","html_url":"https://github.com/Manishearth/rust-clippy/issues/104","id":90765588,"number":104,"title":"Declare variable and immediately returning","user":{"login":"Havvy","id":731722,"avatar_url":"https://avatars.githubusercontent.com/u/731722?v=3","gravatar_id":"","url":"https://api.github.com/users/Havvy","html_url":"https://github.com/Havvy","followers_url":"https://api.github.com/users/Havvy/followers","following_url":"https://api.github.com/users/Havvy/following{/other_user}","gists_url":"https://api.github.com/users/Havvy/gists{/gist_id}","starred_url":"https://api.github.com/users/Havvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Havvy/subscriptions","organizations_url":"https://api.github.com/users/Havvy/orgs","repos_url":"https://api.github.com/users/Havvy/repos","events_url":"https://api.github.com/users/Havvy/events{/privacy}","received_events_url":"https://api.github.com/users/Havvy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T19:41:17Z","updated_at":"2015-06-24T19:41:17Z","closed_at":null,"body":"```rust\r\nfn foo (): V {\r\n  let v: V = bar();\r\n  v\r\n}\r\n```\r\n\r\nShould produce a warning stating that the `let` is unnecessary and to just return `bar()` directly."}}