diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap index 67638b4d1..f6c95074a 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.704544615Z" | 2 | created: "2019-02-18T09:10:52.050659480Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | 4 | source: crates/ra_ide_api/src/completion/completion_item.rs |
5 | expression: kind_completions | 5 | expression: kind_completions |
@@ -8,12 +8,18 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "m", | 9 | label: "m", |
10 | source_range: [100; 100), | 10 | source_range: [100; 100), |
11 | text_edit: TextEdit { | ||
12 | atoms: [ | ||
13 | AtomTextEdit { | ||
14 | delete: [100; 100), | ||
15 | insert: "m()$0" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
11 | kind: Method, | 19 | kind: Method, |
12 | detail: "fn m()", | 20 | detail: "fn m()", |
13 | documentation: Documentation( | 21 | documentation: Documentation( |
14 | "An associated method" | 22 | "An associated method" |
15 | ), | 23 | ) |
16 | insert_text: "m()$0", | ||
17 | insert_text_format: Snippet | ||
18 | } | 24 | } |
19 | ] | 25 | ] |