diff options
Diffstat (limited to 'crates/ra_hir_def/src/data.rs')
-rw-r--r-- | crates/ra_hir_def/src/data.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/data.rs b/crates/ra_hir_def/src/data.rs index 88a8ef9bf..758c12f33 100644 --- a/crates/ra_hir_def/src/data.rs +++ b/crates/ra_hir_def/src/data.rs | |||
@@ -3,7 +3,6 @@ | |||
3 | use std::sync::Arc; | 3 | use std::sync::Arc; |
4 | 4 | ||
5 | use hir_expand::{name::Name, InFile}; | 5 | use hir_expand::{name::Name, InFile}; |
6 | use ra_prof::profile; | ||
7 | use ra_syntax::ast; | 6 | use ra_syntax::ast; |
8 | 7 | ||
9 | use crate::{ | 8 | use crate::{ |
@@ -133,7 +132,7 @@ pub struct ImplData { | |||
133 | 132 | ||
134 | impl ImplData { | 133 | impl ImplData { |
135 | pub(crate) fn impl_data_query(db: &dyn DefDatabase, id: ImplId) -> Arc<ImplData> { | 134 | pub(crate) fn impl_data_query(db: &dyn DefDatabase, id: ImplId) -> Arc<ImplData> { |
136 | let _p = profile("impl_data_query"); | 135 | let _p = profile::span("impl_data_query"); |
137 | let impl_loc = id.lookup(db); | 136 | let impl_loc = id.lookup(db); |
138 | 137 | ||
139 | let item_tree = db.item_tree(impl_loc.id.file_id); | 138 | let item_tree = db.item_tree(impl_loc.id.file_id); |