aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_assists/src')
-rw-r--r--crates/ide_assists/src/handlers/fill_match_arms.rs46
1 files changed, 23 insertions, 23 deletions
diff --git a/crates/ide_assists/src/handlers/fill_match_arms.rs b/crates/ide_assists/src/handlers/fill_match_arms.rs
index 3047f91d8..a30c4d04e 100644
--- a/crates/ide_assists/src/handlers/fill_match_arms.rs
+++ b/crates/ide_assists/src/handlers/fill_match_arms.rs
@@ -481,32 +481,32 @@ fn main() {
481 check_assist( 481 check_assist(
482 fill_match_arms, 482 fill_match_arms,
483 r#" 483 r#"
484 enum A { One, Two } 484enum A { One, Two }
485 enum B { One, Two } 485enum B { One, Two }
486 486
487 fn main() { 487fn main() {
488 let a = A::One; 488 let a = A::One;
489 let b = B::One; 489 let b = B::One;
490 match (a$0, b) { 490 match (a$0, b) {
491 (A::Two, B::One) => {} 491 (A::Two, B::One) => {}
492 } 492 }
493 } 493}
494 "#, 494"#,
495 r#" 495 r#"
496 enum A { One, Two } 496enum A { One, Two }
497 enum B { One, Two } 497enum B { One, Two }
498 498
499 fn main() { 499fn main() {
500 let a = A::One; 500 let a = A::One;
501 let b = B::One; 501 let b = B::One;
502 match (a, b) { 502 match (a, b) {
503 (A::Two, B::One) => {} 503 (A::Two, B::One) => {}
504 $0(A::One, B::One) => {} 504 $0(A::One, B::One) => {}
505 (A::One, B::Two) => {} 505 (A::One, B::Two) => {}
506 (A::Two, B::Two) => {} 506 (A::Two, B::Two) => {}
507 } 507 }
508 } 508}
509 "#, 509"#,
510 ); 510 );
511 } 511 }
512 512