]> git.lizzy.rs Git - rust.git/commitdiff
update generated.rs
authorAnton Firszov <antonfir@gmail.com>
Thu, 14 Oct 2021 18:35:59 +0000 (20:35 +0200)
committerAnton Firszov <antonfir@gmail.com>
Thu, 14 Oct 2021 18:35:59 +0000 (20:35 +0200)
crates/ide_assists/src/tests/generated.rs

index 62c44d70e465b936d7661565bb88c5e5bf377b2a..633412b91960eb6e8ec44a0e3826d0d6f7a83122 100644 (file)
@@ -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!(),
     }