diff options
author | Lukas Wirth <[email protected]> | 2020-11-30 14:35:55 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-11-30 16:21:07 +0000 |
commit | ec946570772a286e9c3cbd57c34bb40d36131275 (patch) | |
tree | d02e350be0554b1523d5341a8f862af18053cbb8 /crates/assists/src | |
parent | 13025ae2a121be8320a6ec40ad3519df5640c927 (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.rs | 2 |
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" |
410 | use std::fmt::{nested::Debug, Display}; | 410 | use std::fmt::{Display, nested::Debug}; |
411 | 411 | ||
412 | impl Display for Foo { | 412 | impl Display for Foo { |
413 | } | 413 | } |