rustdoc: Fix duplicated item path (#13013)

Marshall Bowers created

This PR fixes a bug that was introduced in #13011 where the item path
would get duplicated twice in the database key.

Release Notes:

- N/A

Change summary

crates/rustdoc/src/indexer.rs | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

Detailed changes

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;