diff options
author | Ekaterina Babshukova <[email protected]> | 2019-10-05 15:48:31 +0100 |
---|---|---|
committer | Ekaterina Babshukova <[email protected]> | 2019-10-05 15:48:31 +0100 |
commit | 311dbb854536dd526cdbcadc6d270f9a37e4b816 (patch) | |
tree | db4857e394f6bd6a1045a13d0b3f11a98be8da49 /crates/ra_assists/src/assists | |
parent | 2fc22901730f35405d2bdfe33f88d7b3c6b14304 (diff) |
remove `visitor` module
Diffstat (limited to 'crates/ra_assists/src/assists')
-rw-r--r-- | crates/ra_assists/src/assists/split_import.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_assists/src/assists/split_import.rs b/crates/ra_assists/src/assists/split_import.rs index 19d429daf..fe3e64af5 100644 --- a/crates/ra_assists/src/assists/split_import.rs +++ b/crates/ra_assists/src/assists/split_import.rs | |||
@@ -51,13 +51,13 @@ mod tests { | |||
51 | fn split_import_works_with_trees() { | 51 | fn split_import_works_with_trees() { |
52 | check_assist( | 52 | check_assist( |
53 | split_import, | 53 | split_import, |
54 | "use algo:<|>:visitor::{Visitor, visit}", | 54 | "use crate:<|>:db::{RootDatabase, FileSymbol}", |
55 | "use algo::{<|>visitor::{Visitor, visit}}", | 55 | "use crate::{<|>db::{RootDatabase, FileSymbol}}", |
56 | ) | 56 | ) |
57 | } | 57 | } |
58 | 58 | ||
59 | #[test] | 59 | #[test] |
60 | fn split_import_target() { | 60 | fn split_import_target() { |
61 | check_assist_target(split_import, "use algo::<|>visitor::{Visitor, visit}", "::"); | 61 | check_assist_target(split_import, "use crate::<|>db::{RootDatabase, FileSymbol}", "::"); |
62 | } | 62 | } |
63 | } | 63 | } |