diff options
author | Aleksey Kladov <[email protected]> | 2019-02-18 09:07:47 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-18 09:07:47 +0000 |
commit | 79f35cc6992d18e97b0bb9e309a2dc37f6f286e8 (patch) | |
tree | 70da255f08de0db88075ec95708ac43001ac26ab /crates/ra_ide_api/src/completion/complete_postfix.rs | |
parent | 3dfb16be69ff26519774ea3843f36b622b8bed0f (diff) |
More orthogonal method naming
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_postfix.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_postfix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_postfix.rs b/crates/ra_ide_api/src/completion/complete_postfix.rs index cf8c63269..4ba181720 100644 --- a/crates/ra_ide_api/src/completion/complete_postfix.rs +++ b/crates/ra_ide_api/src/completion/complete_postfix.rs | |||
@@ -22,7 +22,7 @@ fn postfix_snippet(ctx: &CompletionContext, label: &str, detail: &str, snippet: | |||
22 | let mut builder = TextEditBuilder::default(); | 22 | let mut builder = TextEditBuilder::default(); |
23 | builder.delete(delete_range); | 23 | builder.delete(delete_range); |
24 | CompletionItem::new(CompletionKind::Postfix, replace_range, label) | 24 | CompletionItem::new(CompletionKind::Postfix, replace_range, label) |
25 | .snippet(snippet) | 25 | .insert_snippet(snippet) |
26 | .detail(detail) | 26 | .detail(detail) |
27 | .text_edit(builder.finish()) | 27 | .text_edit(builder.finish()) |
28 | } | 28 | } |