aboutsummaryrefslogtreecommitdiff
path: root/crates/assists/src
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-11-30 14:35:55 +0000
committerLukas Wirth <[email protected]>2020-11-30 16:21:07 +0000
commitec946570772a286e9c3cbd57c34bb40d36131275 (patch)
treed02e350be0554b1523d5341a8f862af18053cbb8 /crates/assists/src
parent13025ae2a121be8320a6ec40ad3519df5640c927 (diff)
Fix use merging not using the first path segment
Diffstat (limited to 'crates/assists/src')
-rw-r--r--crates/assists/src/handlers/replace_qualified_name_with_use.rs2
1 files changed, 1 insertions, 1 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 8bdf9eea5..8193e45a8 100644
--- a/crates/assists/src/handlers/replace_qualified_name_with_use.rs
+++ b/crates/assists/src/handlers/replace_qualified_name_with_use.rs
@@ -407,7 +407,7 @@ impl std::fmt::Display<|> for Foo {
407} 407}
408", 408",
409 r" 409 r"
410use std::fmt::{nested::Debug, Display}; 410use std::fmt::{Display, nested::Debug};
411 411
412impl Display for Foo { 412impl Display for Foo {
413} 413}