diff options
-rw-r--r-- | crates/ide/src/completion/complete_postfix.rs | 11 |
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, |