aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ide_completion/src/completions/postfix.rs11
1 files changed, 2 insertions, 9 deletions
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) {
180 ) 180 )
181 .add_to(acc); 181 .add_to(acc);
182 182
183 postfix_snippet( 183 postfix_snippet(ctx, cap, &dot_receiver, "ok", "Ok(expr)", &format!("Ok({})", receiver_text))
184 ctx, 184 .add_to(acc);
185 cap,
186 &dot_receiver,
187 "ok",
188 "Ok(expr)",
189 &format!("Ok({})", receiver_text),
190 )
191 .add_to(acc);
192 185
193 postfix_snippet( 186 postfix_snippet(
194 ctx, 187 ctx,