diff --git a/crates/rustdoc/src/indexer.rs b/crates/rustdoc/src/indexer.rs index f56b2eda1a..ff4eee030e 100644 --- a/crates/rustdoc/src/indexer.rs +++ b/crates/rustdoc/src/indexer.rs @@ -192,11 +192,7 @@ impl RustdocIndexer { let (markdown, referenced_items) = convert_rustdoc_to_markdown(result.as_bytes())?; self.database - .insert( - format!("{crate_name}::{}", item.display()), - Some(item), - markdown, - ) + .insert(crate_name.clone(), Some(item), markdown) .await?; let parent_item = item;