diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap index e6c1a936a..3b374c4de 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap | |||
@@ -1,5 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T07:29:59.739513594Z" | 2 | created: "2019-02-18T09:22:24.126809445Z" |
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,19 +8,23 @@ expression: kind_completions | |||
8 | CompletionItem { | 8 | CompletionItem { |
9 | label: "a", | 9 | label: "a", |
10 | source_range: [214; 214), | 10 | source_range: [214; 214), |
11 | delete: [214; 214), | ||
12 | insert: "a", | ||
11 | kind: Binding | 13 | kind: Binding |
12 | }, | 14 | }, |
13 | CompletionItem { | 15 | CompletionItem { |
14 | label: "b", | 16 | label: "b", |
15 | source_range: [214; 214), | 17 | source_range: [214; 214), |
18 | delete: [214; 214), | ||
19 | insert: "b", | ||
16 | kind: Binding | 20 | kind: Binding |
17 | }, | 21 | }, |
18 | CompletionItem { | 22 | CompletionItem { |
19 | label: "quux", | 23 | label: "quux", |
20 | source_range: [214; 214), | 24 | source_range: [214; 214), |
25 | delete: [214; 214), | ||
26 | insert: "quux()$0", | ||
21 | kind: Function, | 27 | kind: Function, |
22 | detail: "fn quux()", | 28 | detail: "fn quux()" |
23 | insert_text: "quux()$0", | ||
24 | insert_text_format: Snippet | ||
25 | } | 29 | } |
26 | ] | 30 | ] |