aboutsummaryrefslogtreecommitdiff
path: root/crates/assists
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-30 16:22:56 +0000
committerGitHub <[email protected]>2020-11-30 16:22:56 +0000
commit70eb17027151b4e85cbda2765f7289585b26a823 (patch)
tree1ab42350b15cd93ae8124c823fab048515244822 /crates/assists
parent9cbea21aa5a928d9020af63d101b5933ce9cc774 (diff)
parentec946570772a286e9c3cbd57c34bb40d36131275 (diff)
Merge #6680
6680: Fix use merging not using the first path segment r=Veykril a=Veykril Finally figured out why nested imports don't properly merge in some cases Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/assists')
-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}