aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_ide_api/src/hover.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs
index bf08f5203..66a625c6c 100644
--- a/crates/ra_ide_api/src/hover.rs
+++ b/crates/ra_ide_api/src/hover.rs
@@ -550,7 +550,7 @@ The Some variant
550 fn test_hover_infer_associated_method_result() { 550 fn test_hover_infer_associated_method_result() {
551 let (analysis, position) = single_file_with_position( 551 let (analysis, position) = single_file_with_position(
552 " 552 "
553 struct Thing { x: u32 }; 553 struct Thing { x: u32 }
554 554
555 impl Thing { 555 impl Thing {
556 fn new() -> Thing { 556 fn new() -> Thing {
@@ -616,7 +616,7 @@ The Some variant
616 fn test_hover_self() { 616 fn test_hover_self() {
617 let (analysis, position) = single_file_with_position( 617 let (analysis, position) = single_file_with_position(
618 " 618 "
619 struct Thing { x: u32 }; 619 struct Thing { x: u32 }
620 impl Thing { 620 impl Thing {
621 fn new() -> Self { 621 fn new() -> Self {
622 Self<|> { x: 0 } 622 Self<|> { x: 0 }
@@ -630,7 +630,7 @@ The Some variant
630 630
631 let (analysis, position) = single_file_with_position( 631 let (analysis, position) = single_file_with_position(
632 " 632 "
633 struct Thing { x: u32 }; 633 struct Thing { x: u32 }
634 impl Thing { 634 impl Thing {
635 fn new() -> Self<|> { 635 fn new() -> Self<|> {
636 Self { x: 0 } 636 Self { x: 0 }
@@ -644,7 +644,7 @@ The Some variant
644 644
645 let (analysis, position) = single_file_with_position( 645 let (analysis, position) = single_file_with_position(
646 " 646 "
647 enum Thing { A }; 647 enum Thing { A }
648 impl Thing { 648 impl Thing {
649 pub fn new() -> Self<|> { 649 pub fn new() -> Self<|> {
650 Thing::A 650 Thing::A
@@ -658,7 +658,7 @@ The Some variant
658 658
659 let (analysis, position) = single_file_with_position( 659 let (analysis, position) = single_file_with_position(
660 " 660 "
661 enum Thing { A }; 661 enum Thing { A }
662 impl Thing { 662 impl Thing {
663 pub fn thing(a: Self<|>) { 663 pub fn thing(a: Self<|>) {
664 } 664 }