aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Mull <[email protected]>2020-09-22 01:47:20 +0100
committerRussell Mull <[email protected]>2020-09-22 01:47:20 +0100
commit197d1e1b053b484749ac668c7219a89b1046cacd (patch)
treebc012bf14c8b404ec229d7310c9482b59c29da11
parente3b19da8c1e5ba10dffd7a5c381f101c815d46f8 (diff)
Cargo fmt
-rw-r--r--crates/ide/src/completion/complete_postfix.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/crates/ide/src/completion/complete_postfix.rs b/crates/ide/src/completion/complete_postfix.rs
index c7c3f51a8..00f546563 100644
--- a/crates/ide/src/completion/complete_postfix.rs
+++ b/crates/ide/src/completion/complete_postfix.rs
@@ -175,15 +175,8 @@ pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
175 ) 175 )
176 .add_to(acc); 176 .add_to(acc);
177 177
178 postfix_snippet( 178 postfix_snippet(ctx, cap, &dot_receiver, "ok", "Ok(expr)", &format!("Ok({})", receiver_text))
179 ctx, 179 .add_to(acc);
180 cap,
181 &dot_receiver,
182 "ok",
183 "Ok(expr)",
184 &format!("Ok({})", receiver_text),
185 )
186 .add_to(acc);
187 180
188 postfix_snippet( 181 postfix_snippet(
189 ctx, 182 ctx,