]> git.lizzy.rs Git - rust.git/commit
Auto merge of #4220 - d-dorazio:4182-needless-return-void-functions, r=flip1995
authorbors <bors@rust-lang.org>
Sat, 22 Jun 2019 09:38:53 +0000 (09:38 +0000)
committerbors <bors@rust-lang.org>
Sat, 22 Jun 2019 09:38:53 +0000 (09:38 +0000)
commitc5d1ecd4747d73e0c8a62b82b97cb6d5f83db45f
treecca6d221d9965af95d5d42a70a4d45da2e2b8eeb
parent6f82ea53c511d89cde677f41894210552c6f6e8b
parent316a9f271153830afe928df927bd5cad12a87c74
Auto merge of #4220 - d-dorazio:4182-needless-return-void-functions, r=flip1995

make needless_return work with void functions

fixes https://github.com/rust-lang/rust-clippy/issues/4181.

changelog: make needless_return work with void functions.

I don't think the failure is related to my changes, but I'm not sure :thinking:
clippy_lints/src/methods/mod.rs