diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap index 58515b86f..16126ee77 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__completes_prelude.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:52.125606390Z" | 2 | created: "2019-02-18T09:22:24.180517434Z" |
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,41 +8,23 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "Option", | 9 | label: "Option", |
10 | source_range: [18; 18), | 10 | source_range: [18; 18), |
11 | text_edit: TextEdit { | 11 | delete: [18; 18), |
12 | atoms: [ | 12 | insert: "Option", |
13 | AtomTextEdit { | ||
14 | delete: [18; 18), | ||
15 | insert: "Option" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Struct | 13 | kind: Struct |
20 | }, | 14 | }, |
21 | CompletionItem { | 15 | CompletionItem { |
22 | label: "foo", | 16 | label: "foo", |
23 | source_range: [18; 18), | 17 | source_range: [18; 18), |
24 | text_edit: TextEdit { | 18 | delete: [18; 18), |
25 | atoms: [ | 19 | insert: "foo()$0", |
26 | AtomTextEdit { | ||
27 | delete: [18; 18), | ||
28 | insert: "foo()$0" | ||
29 | } | ||
30 | ] | ||
31 | }, | ||
32 | kind: Function, | 20 | kind: Function, |
33 | detail: "fn foo()" | 21 | detail: "fn foo()" |
34 | }, | 22 | }, |
35 | CompletionItem { | 23 | CompletionItem { |
36 | label: "std", | 24 | label: "std", |
37 | source_range: [18; 18), | 25 | source_range: [18; 18), |
38 | text_edit: TextEdit { | 26 | delete: [18; 18), |
39 | atoms: [ | 27 | insert: "std", |
40 | AtomTextEdit { | ||
41 | delete: [18; 18), | ||
42 | insert: "std" | ||
43 | } | ||
44 | ] | ||
45 | }, | ||
46 | kind: Module | 28 | kind: Module |
47 | } | 29 | } |
48 | ] | 30 | ] |