bors
646b28f5f6
Auto merge of #11896 - samueltardieu:issue-11893, r=Alexendoo
...
`option_if_let_else`: do not trigger on expressions returning `()`
Fix #11893
Trigerring on expressions returning `()` uses the arguments of the `map_or_else()` rewrite only for their side effects. This does lead to code which is harder to read than the original.
changelog: [`option_if_let_else`]: do not trigger on unit expressions
2023-11-30 15:17:29 +00:00
..
2023-11-21 22:03:00 +01:00
2023-11-26 18:40:50 +01:00
2023-11-26 18:40:50 +01:00
2023-11-22 13:42:13 +01:00
2023-11-22 13:42:13 +01:00
2023-11-22 13:42:13 +01:00
2023-11-24 18:14:34 +01:00
2023-11-26 22:46:13 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 09:31:49 +01:00
2023-11-23 09:31:49 +01:00
2023-11-21 12:02:12 +01:00
2023-11-21 12:02:12 +01:00
2023-11-21 12:02:12 +01:00
2023-11-23 13:32:41 +01:00
2023-11-29 19:38:02 +01:00
2023-11-29 19:38:02 +01:00
2023-11-29 19:38:02 +01:00
2023-11-24 18:14:34 +01:00
2023-11-24 18:14:34 +01:00
2023-11-24 18:14:34 +01:00
2023-11-23 13:32:41 +01:00
2023-11-28 00:27:51 +09:00
2023-11-28 00:27:51 +09:00
2023-11-28 00:27:51 +09:00
2023-11-23 13:32:41 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 23:07:36 +01:00
2023-11-24 17:47:31 +01:00
2023-11-28 21:29:08 +01:00
2023-11-28 21:29:08 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00