diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_postfix.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_postfix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_postfix.rs b/crates/ra_ide_api/src/completion/complete_postfix.rs index 4dfa5f176..278b1b797 100644 --- a/crates/ra_ide_api/src/completion/complete_postfix.rs +++ b/crates/ra_ide_api/src/completion/complete_postfix.rs | |||
@@ -40,7 +40,7 @@ pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { | |||
40 | ctx, | 40 | ctx, |
41 | "match", | 41 | "match", |
42 | "match expr {}", | 42 | "match expr {}", |
43 | &format!("match {} {{\n${{1:_}} => {{$0\\}},\n}}", receiver_text), | 43 | &format!("match {} {{\n ${{1:_}} => {{$0\\}},\n}}", receiver_text), |
44 | ) | 44 | ) |
45 | .add_to(acc); | 45 | .add_to(acc); |
46 | postfix_snippet( | 46 | postfix_snippet( |