bors[bot] 86ca1764b6
Merge #8975
8975: Use todo!() as placeholder body for generated match arms r=matklad a=jDomantas

`todo!()` seems to be a better fit for this than `{}`. Seeing that this assist predates stabilization of `todo` my guess is that simply no one bothered to change it yet.

Also fixed the issue where if the last arm was not block-like, rust-analyzer would not add a comma after it and would generate invalid code.

Co-authored-by: Domantas Jadenkus <djadenkus@gmail.com>
2021-05-24 19:59:51 +00:00
..
2021-05-24 15:35:46 +02:00
2021-05-24 19:52:01 +00:00
2021-05-24 16:31:54 +03:00
2021-05-23 21:55:51 +00:00
2021-05-24 21:47:01 +02:00
2021-05-22 17:20:22 +03:00
2021-04-06 16:22:26 +03:00
2021-05-24 18:18:05 +03:00
2021-05-22 16:53:47 +03:00
2021-05-24 18:18:05 +03:00
2021-05-22 16:53:47 +03:00