diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index f20e4dcab..8e5cab43e 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:51.944941588Z" | 2 | created: "2019-02-18T09:22:23.940872918Z" |
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,28 +8,16 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "foo", | 9 | label: "foo", |
10 | source_range: [187; 187), | 10 | source_range: [187; 187), |
11 | text_edit: TextEdit { | 11 | delete: [187; 187), |
12 | atoms: [ | 12 | insert: "foo()$0", |
13 | AtomTextEdit { | ||
14 | delete: [187; 187), | ||
15 | insert: "foo()$0" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Method, | 13 | kind: Method, |
20 | detail: "fn foo(self)" | 14 | detail: "fn foo(self)" |
21 | }, | 15 | }, |
22 | CompletionItem { | 16 | CompletionItem { |
23 | label: "the_field", | 17 | label: "the_field", |
24 | source_range: [187; 187), | 18 | source_range: [187; 187), |
25 | text_edit: TextEdit { | 19 | delete: [187; 187), |
26 | atoms: [ | 20 | insert: "the_field", |
27 | AtomTextEdit { | ||
28 | delete: [187; 187), | ||
29 | insert: "the_field" | ||
30 | } | ||
31 | ] | ||
32 | }, | ||
33 | kind: Field, | 21 | kind: Field, |
34 | detail: "(u32,)", | 22 | detail: "(u32,)", |
35 | documentation: Documentation( | 23 | documentation: Documentation( |