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