aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_postfix.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-04-22 08:38:39 +0100
committerAleksey Kladov <[email protected]>2019-04-22 08:38:39 +0100
commitb811922a530b7b22469b386a521946f1003911c7 (patch)
treef36351caa9129c14dded2ecb1d5c7505c3ba1ab0 /crates/ra_ide_api/src/completion/complete_postfix.rs
parent5b2fd86d2523299c4a5ec58ad33c3474f52f85a2 (diff)
fix postfix match indent
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_postfix.rs')
-rw-r--r--crates/ra_ide_api/src/completion/complete_postfix.rs2
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(