From ba414bc2aef18313d18fbe49f496e4578593dce0 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 27 Nov 2021 19:11:39 +0300 Subject: [PATCH] minor: correct profiling name --- crates/hir_def/src/item_tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir_def/src/item_tree.rs index db2398fbdee..aab3f4b3c84 100644 --- a/crates/hir_def/src/item_tree.rs +++ b/crates/hir_def/src/item_tree.rs @@ -104,7 +104,7 @@ pub struct ItemTree { impl ItemTree { pub(crate) fn file_item_tree_query(db: &dyn DefDatabase, file_id: HirFileId) -> Arc { - let _p = profile::span("item_tree_query").detail(|| format!("{:?}", file_id)); + let _p = profile::span("file_item_tree_query").detail(|| format!("{:?}", file_id)); let syntax = match db.parse_or_expand(file_id) { Some(node) => node, None => return Default::default(),