aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'crates/assists/src/handlers')
-rw-r--r--crates/assists/src/handlers/replace_qualified_name_with_use.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/assists/src/handlers/replace_qualified_name_with_use.rs b/crates/assists/src/handlers/replace_qualified_name_with_use.rs
index 56e85125d..597bc268c 100644
--- a/crates/assists/src/handlers/replace_qualified_name_with_use.rs
+++ b/crates/assists/src/handlers/replace_qualified_name_with_use.rs
@@ -348,9 +348,9 @@ use std::fmt::{Debug, nested::{self, Display}};
348impl std::fmt::nested<|> for Foo { 348impl std::fmt::nested<|> for Foo {
349} 349}
350", 350",
351 // FIXME(veykril): self is being pulled out for some reason now 351 // FIXME(veykril): nested is duplicated now
352 r" 352 r"
353use std::fmt::{Debug, nested::{Display}, nested}; 353use std::fmt::{Debug, nested::{self, Display}, nested};
354 354
355impl nested for Foo { 355impl nested for Foo {
356} 356}
@@ -518,6 +518,7 @@ fn main() {
518 ", 518 ",
519 r" 519 r"
520#![allow(dead_code)] 520#![allow(dead_code)]
521
521use std::fmt::Debug; 522use std::fmt::Debug;
522 523
523fn main() { 524fn main() {