diff options
Diffstat (limited to 'crates/ide_completion')
-rw-r--r-- | crates/ide_completion/src/completions/postfix.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_completion/src/completions/postfix.rs b/crates/ide_completion/src/completions/postfix.rs index 3d153838d..0729b8eee 100644 --- a/crates/ide_completion/src/completions/postfix.rs +++ b/crates/ide_completion/src/completions/postfix.rs | |||
@@ -186,7 +186,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { | |||
186 | &dot_receiver, | 186 | &dot_receiver, |
187 | "ok", | 187 | "ok", |
188 | "Ok(expr)", | 188 | "Ok(expr)", |
189 | &format!("Ok({})", receiver_text) | 189 | &format!("Ok({})", receiver_text), |
190 | ) | 190 | ) |
191 | .add_to(acc); | 191 | .add_to(acc); |
192 | 192 | ||
@@ -196,7 +196,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { | |||
196 | &dot_receiver, | 196 | &dot_receiver, |
197 | "err", | 197 | "err", |
198 | "Err(expr)", | 198 | "Err(expr)", |
199 | &format!("Err({})", receiver_text) | 199 | &format!("Err({})", receiver_text), |
200 | ) | 200 | ) |
201 | .add_to(acc); | 201 | .add_to(acc); |
202 | 202 | ||