From 01e302252123b41b52ed37f4385cd80a1ab8e068 Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Thu, 14 Oct 2021 20:35:59 +0200 Subject: [PATCH] update generated.rs --- crates/ide_assists/src/tests/generated.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs index 62c44d70e46..633412b9196 100644 --- a/crates/ide_assists/src/tests/generated.rs +++ b/crates/ide_assists/src/tests/generated.rs @@ -129,8 +129,7 @@ fn doctest_add_missing_match_arms() { enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { - match action { - $0 + match action $0 { } } "#####, @@ -138,7 +137,7 @@ fn handle(action: Action) { enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { - match action { + match action { $0Action::Move { distance } => todo!(), Action::Stop => todo!(), } -- 2.44.0