diff options
author | Duong Do Minh Chau <[email protected]> | 2021-03-09 09:38:07 +0000 |
---|---|---|
committer | Duong Do Minh Chau <[email protected]> | 2021-03-09 09:38:07 +0000 |
commit | 73590f0f0b0fa0b1c61c157682f4da7b0a7981ac (patch) | |
tree | e6c4e44e1c6647b5335dcfa2195c91bf9318585e /crates/ide_completion/src | |
parent | a068cedee019a02dd3f6d30169f3ed39e703f6c9 (diff) |
Fix format
Diffstat (limited to 'crates/ide_completion/src')
-rw-r--r-- | crates/ide_completion/src/completions/postfix.rs | 11 |
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, |