From b04cadc02c72055ed97eb5b3c1318f1c3b5602dc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 24 Feb 2019 19:34:27 +0300 Subject: move function rendering to presentation --- ..._item__dont_render_function_parens_if_already_call_assoc_fn.snap | 6 +++--- .../snapshots/completion_item__struct_associated_method.snap | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots') 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 @@ --- -created: "2019-02-18T09:22:24.268227065Z" -creator: insta@0.6.2 +created: "2019-02-24T16:33:48.008220694Z" +creator: insta@0.6.3 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions --- @@ -10,7 +10,7 @@ expression: kind_completions source_range: [67; 69), delete: [67; 69), insert: "new", - kind: Method, + kind: Function, detail: "fn new() -> Foo" } ] 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 @@ --- -created: "2019-02-18T09:22:24.093082839Z" -creator: insta@0.6.2 +created: "2019-02-24T16:33:47.990111169Z" +creator: insta@0.6.3 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions --- @@ -10,7 +10,7 @@ expression: kind_completions source_range: [100; 100), delete: [100; 100), insert: "m()$0", - kind: Method, + kind: Function, detail: "fn m()", documentation: Documentation( "An associated method" -- cgit v1.2.3