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