rust/crates
bors[bot] 6ef64622af
Merge #3700
3700: fill match arms with empty block rather than unit tuple r=matklad a=JoshMcguigan

As requested by @Veetaha in #3689 and #3687, this modifies the fill match arms assist to create match arms as an empty block `{}` rather than a unit tuple `()`.

In one test I left one of the pre-existing match arms as a unit tuple, and added a body to another match arm, to demonstrate that the contents of existing match arms persist. 

Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
2020-03-24 11:48:32 +00:00
..
ra_arena Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
ra_assists Merge #3700 2020-03-24 11:48:32 +00:00
ra_cargo_watch Merge #3632 2020-03-23 11:55:26 +00:00
ra_cfg
ra_db Support loading OUT_DIR from cargo check at launch 2020-03-17 14:47:05 +01:00
ra_fmt update itertools version to 0.9.0 2020-03-23 16:22:46 -07:00
ra_hir Use more generic public api 2020-03-24 10:43:22 +02:00
ra_hir_def Merge #3684 2020-03-22 19:59:05 +00:00
ra_hir_expand Fix typo 2020-03-21 23:08:53 +08:00
ra_hir_ty Merge #3679 2020-03-22 14:17:06 +00:00
ra_ide Merge #3694 2020-03-24 09:49:25 +00:00
ra_ide_db Use more generic public api 2020-03-24 10:43:22 +02:00
ra_mbe Small fixes 2020-03-16 18:46:08 +01:00
ra_parser Support arbitrary discriminants 2020-03-20 08:50:34 +01:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
ra_syntax fill match arms with empty block rather than unit tuple 2020-03-23 19:23:30 -07:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Make MBE expansion more resilient (WIP) 2020-03-16 18:38:19 +01:00
rust-analyzer update itertools version to 0.9.0 2020-03-23 16:22:46 -07:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00