aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists')
-rw-r--r--crates/ra_assists/src/assists/add_import.rs12
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 "
737use std::{ io, fmt}; 737use std::{io, fmt};
738 738
739impl io<|> for Foo { 739impl io<|> for Foo {
740} 740}
@@ -753,7 +753,7 @@ impl std::fmt::Debug<|> for Foo {
753} 753}
754 ", 754 ",
755 " 755 "
756use std::fmt::{ self, Debug, }; 756use std::fmt::{self, Debug, };
757 757
758impl Debug<|> for Foo { 758impl Debug<|> for Foo {
759} 759}
@@ -772,7 +772,7 @@ impl std::fmt<|> for Foo {
772} 772}
773 ", 773 ",
774 " 774 "
775use std::fmt::{ self, Debug}; 775use std::fmt::{self, Debug};
776 776
777impl fmt<|> for Foo { 777impl fmt<|> for Foo {
778} 778}
@@ -848,7 +848,7 @@ impl std::fmt::nested::Display<|> for Foo {
848} 848}
849", 849",
850 " 850 "
851use std::fmt::{ nested::Display, Debug}; 851use std::fmt::{nested::Display, Debug};
852 852
853impl Display<|> for Foo { 853impl Display<|> for Foo {
854} 854}
@@ -867,7 +867,7 @@ impl std::fmt::Display<|> for Foo {
867} 867}
868", 868",
869 " 869 "
870use std::fmt::{ Display, nested::Debug}; 870use std::fmt::{Display, nested::Debug};
871 871
872impl Display<|> for Foo { 872impl Display<|> for Foo {
873} 873}