From 864fd5ee25ea7b379855284365eb199cc0fa9c07 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Feb 2019 10:31:00 +0300 Subject: More compact debug representation for completion --- ...pletion_item__struct_field_completion_self.snap | 45 ++++++---------------- 1 file changed, 12 insertions(+), 33 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap index 1073d90fd..52991b9fb 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap @@ -1,46 +1,25 @@ --- -created: "2019-01-27T19:56:59.909689544+00:00" -creator: insta@0.5.2 -expression: kind_completions +created: "2019-02-18T07:29:59.598965593Z" +creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs +expression: kind_completions --- [ CompletionItem { - completion_kind: Reference, label: "foo", - kind: Some( - Method - ), - detail: Some( - "fn foo(self)" - ), - documentation: None, - lookup: None, - insert_text: Some( - "foo()$0" - ), - insert_text_format: Snippet, source_range: [187; 187), - text_edit: None + kind: Method, + detail: "fn foo(self)", + insert_text: "foo()$0", + insert_text_format: Snippet }, CompletionItem { - completion_kind: Reference, label: "the_field", - kind: Some( - Field - ), - detail: Some( - "(u32,)" - ), - documentation: Some( - Documentation( - "This is the_field" - ) - ), - lookup: None, - insert_text: None, - insert_text_format: PlainText, source_range: [187; 187), - text_edit: None + kind: Field, + detail: "(u32,)", + documentation: Documentation( + "This is the_field" + ) } ] -- cgit v1.2.3