mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 09:53:26 +00:00
![]() 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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |