aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-03-20 22:50:59 +0000
committerKirill Bulatov <[email protected]>2021-03-21 09:45:37 +0000
commitb17d99c0706674c7549aca4670f915aa0b0e2f4e (patch)
treeb376f04aa3bd91eb13007e1a334327a45e45753c /crates/ide_db/src
parenteaa4fcbbdea69c8fcf5b6cdc1ff3c259be3e09cb (diff)
Fix the profile string
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r--crates/ide_db/src/items_locator.rs2
1 files changed, 1 insertions, 1 deletions
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>(
40) -> impl Iterator<Item = ItemInNs> + 'a { 40) -> impl Iterator<Item = ItemInNs> + 'a {
41 let _p = profile::span("items_with_name").detail(|| { 41 let _p = profile::span("items_with_name").detail(|| {
42 format!( 42 format!(
43 "Name: {} ({:?}), crate: {:?}, limit: {:?}", 43 "Name: {}, crate: {:?}, assoc items: {:?}, limit: {:?}",
44 name.text(), 44 name.text(),
45 assoc_item_search, 45 assoc_item_search,
46 krate.display_name(sema.db).map(|name| name.to_string()), 46 krate.display_name(sema.db).map(|name| name.to_string()),