aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuong Do Minh Chau <[email protected]>2021-03-09 09:00:06 +0000
committerDuong Do Minh Chau <[email protected]>2021-03-09 09:00:06 +0000
commita068cedee019a02dd3f6d30169f3ed39e703f6c9 (patch)
treefa2f77286ebe9bb9bc4cc95f83b7ff22be21ed59
parentea835fc800b776e34bfebcd8457213360b4d6f13 (diff)
Add trailing commas
-rw-r--r--crates/ide_completion/src/completions/postfix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_completion/src/completions/postfix.rs b/crates/ide_completion/src/completions/postfix.rs
index 3d153838d..0729b8eee 100644
--- a/crates/ide_completion/src/completions/postfix.rs
+++ b/crates/ide_completion/src/completions/postfix.rs
@@ -186,7 +186,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
186 &dot_receiver, 186 &dot_receiver,
187 "ok", 187 "ok",
188 "Ok(expr)", 188 "Ok(expr)",
189 &format!("Ok({})", receiver_text) 189 &format!("Ok({})", receiver_text),
190 ) 190 )
191 .add_to(acc); 191 .add_to(acc);
192 192
@@ -196,7 +196,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
196 &dot_receiver, 196 &dot_receiver,
197 "err", 197 "err",
198 "Err(expr)", 198 "Err(expr)",
199 &format!("Err({})", receiver_text) 199 &format!("Err({})", receiver_text),
200 ) 200 )
201 .add_to(acc); 201 .add_to(acc);
202 202