aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGowri <[email protected]>2021-02-08 07:52:46 +0000
committerGowri <[email protected]>2021-02-08 07:52:46 +0000
commit6b947567e196fe29f4c4934295a60d791d97c069 (patch)
treedada65144ce20c37db3a9019274783c1834b8052
parent498dfc45d44786ccd83b2b0d963dc23020ce4f1a (diff)
chore: swap order of placeholders
-rw-r--r--crates/completion/src/completions/keyword.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/keyword.rs b/crates/completion/src/completions/keyword.rs
index 123b944d9..eb81f9765 100644
--- a/crates/completion/src/completions/keyword.rs
+++ b/crates/completion/src/completions/keyword.rs
@@ -88,7 +88,7 @@ pub(crate) fn complete_expr_keyword(acc: &mut Completions, ctx: &CompletionConte
88 add_keyword(ctx, acc, "loop", "loop {$0}"); 88 add_keyword(ctx, acc, "loop", "loop {$0}");
89 add_keyword(ctx, acc, "if", "if $0 {}"); 89 add_keyword(ctx, acc, "if", "if $0 {}");
90 add_keyword(ctx, acc, "if let", "if let $1 = $0 {}"); 90 add_keyword(ctx, acc, "if let", "if let $1 = $0 {}");
91 add_keyword(ctx, acc, "for", "for $0 in $1 {}"); 91 add_keyword(ctx, acc, "for", "for $1 in $0 {}");
92 } 92 }
93 93
94 if ctx.if_is_prev || ctx.block_expr_parent { 94 if ctx.if_is_prev || ctx.block_expr_parent {