diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-17 18:47:09 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-17 18:47:09 +0000 |
commit | a725dd4f7ac2b88541189f0f726ce86876c36add (patch) | |
tree | 9f6c056d06c839fac365767ad3070b23a35ba2bc /crates/ra_ide_api/src/completion/snapshots | |
parent | 646b53ace30660935641932c043301e3cdd4e71f (diff) | |
parent | e503ffe9ff175aa5f35facb107fcd985a8b1c4a4 (diff) |
Merge #849
849: Don't render `()` in calls to assoc functions r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap new file mode 100644 index 000000000..18a187c6f --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call_assoc_fn.snap | |||
@@ -0,0 +1,24 @@ | |||
1 | --- | ||
2 | created: "2019-02-17T18:29:14.513213526Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
5 | expression: kind_completions | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | completion_kind: Reference, | ||
10 | label: "new", | ||
11 | kind: Some( | ||
12 | Method | ||
13 | ), | ||
14 | detail: Some( | ||
15 | "fn new() -> Foo" | ||
16 | ), | ||
17 | documentation: None, | ||
18 | lookup: None, | ||
19 | insert_text: None, | ||
20 | insert_text_format: PlainText, | ||
21 | source_range: [67; 69), | ||
22 | text_edit: None | ||
23 | } | ||
24 | ] | ||