From 7ba934fe5866e6aedd8d18e95f8c54e17e18ea51 Mon Sep 17 00:00:00 2001 From: Josh Mcguigan Date: Mon, 23 Mar 2020 19:23:30 -0700 Subject: fill match arms with empty block rather than unit tuple --- crates/ra_assists/src/doc_tests/generated.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_assists/src/doc_tests') diff --git a/crates/ra_assists/src/doc_tests/generated.rs b/crates/ra_assists/src/doc_tests/generated.rs index aef6793e8..62dcb3808 100644 --- a/crates/ra_assists/src/doc_tests/generated.rs +++ b/crates/ra_assists/src/doc_tests/generated.rs @@ -275,8 +275,8 @@ enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { match action { - Action::Move { distance } => (), - Action::Stop => (), + Action::Move { distance } => {} + Action::Stop => {} } } "#####, -- cgit v1.2.3