diff options
Diffstat (limited to 'crates/assists/src/utils.rs')
-rw-r--r-- | crates/assists/src/utils.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/assists/src/utils.rs b/crates/assists/src/utils.rs index 66c0cdd5f..048746587 100644 --- a/crates/assists/src/utils.rs +++ b/crates/assists/src/utils.rs | |||
@@ -25,6 +25,7 @@ use crate::{ | |||
25 | pub use insert_use::{insert_use, ImportScope, MergeBehaviour}; | 25 | pub use insert_use::{insert_use, ImportScope, MergeBehaviour}; |
26 | 26 | ||
27 | pub fn mod_path_to_ast(path: &hir::ModPath) -> ast::Path { | 27 | pub fn mod_path_to_ast(path: &hir::ModPath) -> ast::Path { |
28 | let _p = profile::span("mod_path_to_ast"); | ||
28 | let mut segments = Vec::new(); | 29 | let mut segments = Vec::new(); |
29 | let mut is_abs = false; | 30 | let mut is_abs = false; |
30 | match path.kind { | 31 | match path.kind { |