aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/generics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src/generics.rs')
-rw-r--r--crates/ra_hir_def/src/generics.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/generics.rs b/crates/ra_hir_def/src/generics.rs
index 90daa46b4..0e06a0b12 100644
--- a/crates/ra_hir_def/src/generics.rs
+++ b/crates/ra_hir_def/src/generics.rs
@@ -11,7 +11,6 @@ use hir_expand::{
11 InFile, 11 InFile,
12}; 12};
13use ra_db::FileId; 13use ra_db::FileId;
14use ra_prof::profile;
15use ra_syntax::ast::{self, GenericParamsOwner, NameOwner, TypeBoundsOwner}; 14use ra_syntax::ast::{self, GenericParamsOwner, NameOwner, TypeBoundsOwner};
16 15
17use crate::{ 16use crate::{
@@ -73,7 +72,7 @@ impl GenericParams {
73 db: &dyn DefDatabase, 72 db: &dyn DefDatabase,
74 def: GenericDefId, 73 def: GenericDefId,
75 ) -> Arc<GenericParams> { 74 ) -> Arc<GenericParams> {
76 let _p = profile("generic_params_query"); 75 let _p = profile::span("generic_params_query");
77 76
78 let generics = match def { 77 let generics = match def {
79 GenericDefId::FunctionId(id) => { 78 GenericDefId::FunctionId(id) => {