bors[bot] 51d85e1060
Merge #9454
9454: feat: Empower `replace_if_let_with_match` r=Veykril a=Veykril

Now instead of only working on `if let ... {} else {}` if expressions it now works on all of them where the condition expression is the same text-wise.

This includes if let expressions without an else block, in which case a simple `_ => ()` will be generated in the resulting match but also in more complex cases where multiple `if let` expressions are chained.

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-07-01 22:24:17 +00:00
..
2021-07-01 14:10:57 +03:00
2021-07-01 18:25:06 +00:00
2021-06-30 01:34:54 +02:00
2021-07-01 22:12:53 +00:00
2021-07-01 22:24:17 +00:00
2021-06-24 20:21:20 +00:00
2021-07-01 19:33:53 +00:00
2021-06-28 09:28:31 +03:00
2021-06-30 19:52:03 +00:00