diff options
author | Aleksey Kladov <[email protected]> | 2019-10-26 16:03:55 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-26 16:03:55 +0100 |
commit | 4ef9b8d17a75d3f68951f506ad390e1367c1b2ad (patch) | |
tree | cb4b57959387ad8c9615653218d752ea54f5f85a /crates/ra_assists/src/assists | |
parent | 3126152a84e08a80659d49d735d03628154564ed (diff) |
use correct spacing for enum pattern
Diffstat (limited to 'crates/ra_assists/src/assists')
-rw-r--r-- | crates/ra_assists/src/assists/fill_match_arms.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_assists/src/assists/fill_match_arms.rs b/crates/ra_assists/src/assists/fill_match_arms.rs index 13b98d033..b6166f947 100644 --- a/crates/ra_assists/src/assists/fill_match_arms.rs +++ b/crates/ra_assists/src/assists/fill_match_arms.rs | |||
@@ -26,7 +26,7 @@ use crate::{Assist, AssistCtx, AssistId}; | |||
26 | // | 26 | // |
27 | // fn handle(action: Action) { | 27 | // fn handle(action: Action) { |
28 | // match action { | 28 | // match action { |
29 | // Action::Move{ distance } => (), | 29 | // Action::Move { distance } => (), |
30 | // Action::Stop => (), | 30 | // Action::Stop => (), |
31 | // } | 31 | // } |
32 | // } | 32 | // } |
@@ -154,7 +154,7 @@ mod tests { | |||
154 | A::Bs => (), | 154 | A::Bs => (), |
155 | A::Cs(_) => (), | 155 | A::Cs(_) => (), |
156 | A::Ds(_, _) => (), | 156 | A::Ds(_, _) => (), |
157 | A::Es{ x, y } => (), | 157 | A::Es { x, y } => (), |
158 | } | 158 | } |
159 | } | 159 | } |
160 | "#, | 160 | "#, |
@@ -207,7 +207,7 @@ mod tests { | |||
207 | 207 | ||
208 | fn foo(a: &mut A) { | 208 | fn foo(a: &mut A) { |
209 | match <|>a { | 209 | match <|>a { |
210 | A::Es{ x, y } => (), | 210 | A::Es { x, y } => (), |
211 | } | 211 | } |
212 | } | 212 | } |
213 | "#, | 213 | "#, |