diff options
-rw-r--r-- | crates/ra_assists/src/assists/add_import.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ra_assists/src/assists/add_import.rs b/crates/ra_assists/src/assists/add_import.rs index c8b9809f4..363ade016 100644 --- a/crates/ra_assists/src/assists/add_import.rs +++ b/crates/ra_assists/src/assists/add_import.rs | |||
@@ -545,7 +545,7 @@ fn make_assist_add_nested_import( | |||
545 | if add_colon_colon { | 545 | if add_colon_colon { |
546 | buf.push_str("::"); | 546 | buf.push_str("::"); |
547 | } | 547 | } |
548 | buf.push_str("{ "); | 548 | buf.push_str("{"); |
549 | if add_self { | 549 | if add_self { |
550 | buf.push_str("self, "); | 550 | buf.push_str("self, "); |
551 | } | 551 | } |
@@ -734,7 +734,7 @@ impl std::io<|> for Foo { | |||
734 | } | 734 | } |
735 | ", | 735 | ", |
736 | " | 736 | " |
737 | use std::{ io, fmt}; | 737 | use std::{io, fmt}; |
738 | 738 | ||
739 | impl io<|> for Foo { | 739 | impl io<|> for Foo { |
740 | } | 740 | } |
@@ -753,7 +753,7 @@ impl std::fmt::Debug<|> for Foo { | |||
753 | } | 753 | } |
754 | ", | 754 | ", |
755 | " | 755 | " |
756 | use std::fmt::{ self, Debug, }; | 756 | use std::fmt::{self, Debug, }; |
757 | 757 | ||
758 | impl Debug<|> for Foo { | 758 | impl Debug<|> for Foo { |
759 | } | 759 | } |
@@ -772,7 +772,7 @@ impl std::fmt<|> for Foo { | |||
772 | } | 772 | } |
773 | ", | 773 | ", |
774 | " | 774 | " |
775 | use std::fmt::{ self, Debug}; | 775 | use std::fmt::{self, Debug}; |
776 | 776 | ||
777 | impl fmt<|> for Foo { | 777 | impl fmt<|> for Foo { |
778 | } | 778 | } |
@@ -848,7 +848,7 @@ impl std::fmt::nested::Display<|> for Foo { | |||
848 | } | 848 | } |
849 | ", | 849 | ", |
850 | " | 850 | " |
851 | use std::fmt::{ nested::Display, Debug}; | 851 | use std::fmt::{nested::Display, Debug}; |
852 | 852 | ||
853 | impl Display<|> for Foo { | 853 | impl Display<|> for Foo { |
854 | } | 854 | } |
@@ -867,7 +867,7 @@ impl std::fmt::Display<|> for Foo { | |||
867 | } | 867 | } |
868 | ", | 868 | ", |
869 | " | 869 | " |
870 | use std::fmt::{ Display, nested::Debug}; | 870 | use std::fmt::{Display, nested::Debug}; |
871 | 871 | ||
872 | impl Display<|> for Foo { | 872 | impl Display<|> for Foo { |
873 | } | 873 | } |