]> git.lizzy.rs Git - rust.git/commit
Fix false-positive in `LET_AND_RETURN`
authormcarton <cartonmartin+git@gmail.com>
Wed, 8 Jun 2016 22:24:44 +0000 (00:24 +0200)
committermcarton <cartonmartin+git@gmail.com>
Thu, 9 Jun 2016 21:34:16 +0000 (23:34 +0200)
commit3ae39145fc763a798404dd9301e8d8f045fdbf4e
tree4b5d4388e59ee5a5911b4a49e1a2f5bfa1fc3160
parentce2b96abe98ba23362d91094007b2b932cdd89e0
Fix false-positive in `LET_AND_RETURN`

If the declaration has a type, it might be required for coercion to
happen.
clippy_lints/src/returns.rs