diff options
author | Dawer <[email protected]> | 2021-04-19 12:24:09 +0100 |
---|---|---|
committer | Dawer <[email protected]> | 2021-04-19 12:24:09 +0100 |
commit | 9222d3b0fb815f2fce871ee919c4f1efaf9fe177 (patch) | |
tree | 8e7590cb55a81f7409b168a501d5304df1ba5e97 /crates/ide_assists/src/handlers | |
parent | 8d588efc2b75a886af642b14b0d3ee87d497a20e (diff) |
Unindent test according to the style guide.
Diffstat (limited to 'crates/ide_assists/src/handlers')
-rw-r--r-- | crates/ide_assists/src/handlers/fill_match_arms.rs | 46 |
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 } | 484 | enum A { One, Two } |
485 | enum B { One, Two } | 485 | enum B { One, Two } |
486 | 486 | ||
487 | fn main() { | 487 | fn 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 } | 496 | enum A { One, Two } |
497 | enum B { One, Two } | 497 | enum B { One, Two } |
498 | 498 | ||
499 | fn main() { | 499 | fn 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 | ||