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