diff options
author | Aleksey Kladov <[email protected]> | 2019-02-24 16:34:27 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-24 16:34:27 +0000 |
commit | b04cadc02c72055ed97eb5b3c1318f1c3b5602dc (patch) | |
tree | c30b82d12240e7564104ec3c467e47ce30a3bfc3 /crates/ra_ide_api/src/completion/snapshots | |
parent | d0a261468e67be9213a3fae20f1511e303cac064 (diff) |
move function rendering to presentation
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
2 files changed, 6 insertions, 6 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 index 39fff2cb7..19375ea95 100644 --- 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 | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.268227065Z" | 2 | created: "2019-02-24T16:33:48.008220694Z" |
3 | creator: [email protected].2 | 3 | creator: [email protected].3 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [67; 69), | 10 | source_range: [67; 69), |
11 | delete: [67; 69), | 11 | delete: [67; 69), |
12 | insert: "new", | 12 | insert: "new", |
13 | kind: Method, | 13 | kind: Function, |
14 | detail: "fn new() -> Foo" | 14 | detail: "fn new() -> Foo" |
15 | } | 15 | } |
16 | ] | 16 | ] |
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap index 163b325c3..7c69eebeb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_associated_method.snap | |||
@@ -1,6 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-18T09:22:24.093082839Z" | 2 | created: "2019-02-24T16:33:47.990111169Z" |
3 | creator: [email protected].2 | 3 | creator: [email protected].3 |
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 |
6 | --- | 6 | --- |
@@ -10,7 +10,7 @@ expression: kind_completions | |||
10 | source_range: [100; 100), | 10 | source_range: [100; 100), |
11 | delete: [100; 100), | 11 | delete: [100; 100), |
12 | insert: "m()$0", | 12 | insert: "m()$0", |
13 | kind: Method, | 13 | kind: Function, |
14 | detail: "fn m()", | 14 | detail: "fn m()", |
15 | documentation: Documentation( | 15 | documentation: Documentation( |
16 | "An associated method" | 16 | "An associated method" |