diff options
| author | Dawer <7803845+iDawer@users.noreply.github.com> | 2021-04-19 16:24:09 +0500 |
|---|---|---|
| committer | Dawer <7803845+iDawer@users.noreply.github.com> | 2021-04-19 16:24:09 +0500 |
| commit | 9222d3b0fb815f2fce871ee919c4f1efaf9fe177 (patch) | |
| tree | 8e7590cb55a81f7409b168a501d5304df1ba5e97 | |
| parent | 8d588efc2b75a886af642b14b0d3ee87d497a20e (diff) | |
| download | rust-9222d3b0fb815f2fce871ee919c4f1efaf9fe177.tar.gz rust-9222d3b0fb815f2fce871ee919c4f1efaf9fe177.zip | |
Unindent test according to the style guide.
| -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 3047f91d833..a30c4d04ee5 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() { check_assist( fill_match_arms, r#" - enum A { One, Two } - enum B { One, Two } +enum A { One, Two } +enum B { One, Two } - fn main() { - let a = A::One; - let b = B::One; - match (a$0, b) { - (A::Two, B::One) => {} - } - } - "#, +fn main() { + let a = A::One; + let b = B::One; + match (a$0, b) { + (A::Two, B::One) => {} + } +} +"#, r#" - enum A { One, Two } - enum B { One, Two } +enum A { One, Two } +enum B { One, Two } - fn main() { - let a = A::One; - let b = B::One; - match (a, b) { - (A::Two, B::One) => {} - $0(A::One, B::One) => {} - (A::One, B::Two) => {} - (A::Two, B::Two) => {} - } - } - "#, +fn main() { + let a = A::One; + let b = B::One; + match (a, b) { + (A::Two, B::One) => {} + $0(A::One, B::One) => {} + (A::One, B::Two) => {} + (A::Two, B::Two) => {} + } +} +"#, ); } |
