diff options
author | Josh Mcguigan <[email protected]> | 2020-03-24 02:23:30 +0000 |
---|---|---|
committer | Josh Mcguigan <[email protected]> | 2020-03-24 02:23:30 +0000 |
commit | 7ba934fe5866e6aedd8d18e95f8c54e17e18ea51 (patch) | |
tree | 75f5ed463bcced84e4644b96ec080fdf7972ac26 /crates/ra_assists/src/doc_tests | |
parent | f9494f114798f66b5f2174cf518a2951a82571d3 (diff) |
fill match arms with empty block rather than unit tuple
Diffstat (limited to 'crates/ra_assists/src/doc_tests')
-rw-r--r-- | crates/ra_assists/src/doc_tests/generated.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 } | |||
275 | 275 | ||
276 | fn handle(action: Action) { | 276 | fn handle(action: Action) { |
277 | match action { | 277 | match action { |
278 | Action::Move { distance } => (), | 278 | Action::Move { distance } => {} |
279 | Action::Stop => (), | 279 | Action::Stop => {} |
280 | } | 280 | } |
281 | } | 281 | } |
282 | "#####, | 282 | "#####, |