Skip to content

Commit 197d1e1

Browse files
committed
Cargo fmt
1 parent e3b19da commit 197d1e1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

crates/ide/src/completion/complete_postfix.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,8 @@ pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
175175
)
176176
.add_to(acc);
177177

178-
postfix_snippet(
179-
ctx,
180-
cap,
181-
&dot_receiver,
182-
"ok",
183-
"Ok(expr)",
184-
&format!("Ok({})", receiver_text),
185-
)
186-
.add_to(acc);
178+
postfix_snippet(ctx, cap, &dot_receiver, "ok", "Ok(expr)", &format!("Ok({})", receiver_text))
179+
.add_to(acc);
187180

188181
postfix_snippet(
189182
ctx,

0 commit comments

Comments
 (0)