diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap index e6e389fbd..bd7f99f71 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_for.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:10:52.089782502Z" | 2 | created: "2019-02-18T09:22:24.132341107Z" |
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: "quux", | 9 | label: "quux", |
10 | source_range: [83; 83), | 10 | source_range: [83; 83), |
11 | text_edit: TextEdit { | 11 | delete: [83; 83), |
12 | atoms: [ | 12 | insert: "quux()$0", |
13 | AtomTextEdit { | ||
14 | delete: [83; 83), | ||
15 | insert: "quux()$0" | ||
16 | } | ||
17 | ] | ||
18 | }, | ||
19 | kind: Function, | 13 | kind: Function, |
20 | detail: "fn quux()" | 14 | detail: "fn quux()" |
21 | }, | 15 | }, |
22 | CompletionItem { | 16 | CompletionItem { |
23 | label: "x", | 17 | label: "x", |
24 | source_range: [83; 83), | 18 | source_range: [83; 83), |
25 | text_edit: TextEdit { | 19 | delete: [83; 83), |
26 | atoms: [ | 20 | insert: "x", |
27 | AtomTextEdit { | ||
28 | delete: [83; 83), | ||
29 | insert: "x" | ||
30 | } | ||
31 | ] | ||
32 | }, | ||
33 | kind: Binding | 21 | kind: Binding |
34 | } | 22 | } |
35 | ] | 23 | ] |