From 73590f0f0b0fa0b1c61c157682f4da7b0a7981ac Mon Sep 17 00:00:00 2001 From: Duong Do Minh Chau Date: Tue, 9 Mar 2021 16:38:07 +0700 Subject: Fix format --- crates/ide_completion/src/completions/postfix.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'crates/ide_completion/src') diff --git a/crates/ide_completion/src/completions/postfix.rs b/crates/ide_completion/src/completions/postfix.rs index 0729b8eee..d45ad7944 100644 --- a/crates/ide_completion/src/completions/postfix.rs +++ b/crates/ide_completion/src/completions/postfix.rs @@ -180,15 +180,8 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { ) .add_to(acc); - postfix_snippet( - ctx, - cap, - &dot_receiver, - "ok", - "Ok(expr)", - &format!("Ok({})", receiver_text), - ) - .add_to(acc); + postfix_snippet(ctx, cap, &dot_receiver, "ok", "Ok(expr)", &format!("Ok({})", receiver_text)) + .add_to(acc); postfix_snippet( ctx, -- cgit v1.2.3