From 469301b603af8f9064d126ad65093a1d41e213ac Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 14 Feb 2019 21:28:23 +0300 Subject: use better label for &mut ref completion --- ...completion_works_for_trivial_path_expression.snap | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'crates/ra_ide_api/src/completion/snapshots') diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap index 6f4351445..d3e53e4e8 100644 --- a/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__postfix_completion_works_for_trivial_path_expression.snap @@ -1,5 +1,5 @@ --- -created: "2019-02-14T17:38:20.322102467Z" +created: "2019-02-14T18:33:26.102469493Z" creator: insta@0.6.2 source: crates/ra_ide_api/src/completion/completion_item.rs expression: kind_completions @@ -82,15 +82,15 @@ expression: kind_completions }, CompletionItem { completion_kind: Postfix, - label: "mref", + label: "not", kind: None, detail: Some( - "&mut expr" + "!expr" ), documentation: None, lookup: None, insert_text: Some( - "&mut bar" + "!bar" ), insert_text_format: Snippet, source_range: [76; 76), @@ -107,15 +107,15 @@ expression: kind_completions }, CompletionItem { completion_kind: Postfix, - label: "not", + label: "ref", kind: None, detail: Some( - "!expr" + "&expr" ), documentation: None, lookup: None, insert_text: Some( - "!bar" + "&bar" ), insert_text_format: Snippet, source_range: [76; 76), @@ -132,15 +132,15 @@ expression: kind_completions }, CompletionItem { completion_kind: Postfix, - label: "ref", + label: "refm", kind: None, detail: Some( - "&expr" + "&mut expr" ), documentation: None, lookup: None, insert_text: Some( - "&bar" + "&mut bar" ), insert_text_format: Snippet, source_range: [76; 76), -- cgit v1.2.3