From b17d99c0706674c7549aca4670f915aa0b0e2f4e Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 21 Mar 2021 00:50:59 +0200 Subject: Fix the profile string --- crates/ide_db/src/items_locator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ide_db/src/items_locator.rs b/crates/ide_db/src/items_locator.rs index 9af94b86c..ef796b6f7 100644 --- a/crates/ide_db/src/items_locator.rs +++ b/crates/ide_db/src/items_locator.rs @@ -40,7 +40,7 @@ pub fn items_with_name<'a>( ) -> impl Iterator + 'a { let _p = profile::span("items_with_name").detail(|| { format!( - "Name: {} ({:?}), crate: {:?}, limit: {:?}", + "Name: {}, crate: {:?}, assoc items: {:?}, limit: {:?}", name.text(), assoc_item_search, krate.display_name(sema.db).map(|name| name.to_string()), -- cgit v1.2.3