bors fc72e910fb needless_return suggest return unit type on void returns
closes #8177

previously, `needless_return` suggests an empty block `{}` to replace void `return` on match arms, this PR improve the suggestion by suggesting a unit instead.

changelog: `needless_return` suggests `()` instead of `{}` on match arms
2021-12-28 11:15:53 +00:00
..
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 17:09:16 +00:00
2021-12-26 21:37:57 +08:00
2021-12-26 21:37:57 +08:00
2021-12-26 21:37:57 +08:00
2021-12-26 21:37:57 +08:00
2021-12-26 21:37:57 +08:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2021-12-23 10:51:17 +01:00
2021-12-23 10:51:17 +01:00
2021-12-23 10:51:17 +01:00
2021-12-12 12:34:21 +00:00
2021-12-12 12:34:21 +00:00
2021-12-23 21:41:25 -08:00
2021-12-23 21:43:44 -08:00