From a068cedee019a02dd3f6d30169f3ed39e703f6c9 Mon Sep 17 00:00:00 2001 From: Duong Do Minh Chau Date: Tue, 9 Mar 2021 16:00:06 +0700 Subject: Add trailing commas --- crates/ide_completion/src/completions/postfix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide_completion/src/completions') 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) { &dot_receiver, "ok", "Ok(expr)", - &format!("Ok({})", receiver_text) + &format!("Ok({})", receiver_text), ) .add_to(acc); @@ -196,7 +196,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { &dot_receiver, "err", "Err(expr)", - &format!("Err({})", receiver_text) + &format!("Err({})", receiver_text), ) .add_to(acc); -- cgit v1.2.3