From 200fdc121b44f77f87261e39351d4f47c8af4427 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 7 Nov 2024 10:05:54 +0100 Subject: [PATCH] [Turbopack] remove unneeded type annotation (#72390) ### What? cleanup Closes PACK-3393 --- turbopack/crates/turbopack-trace-server/src/span_ref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbopack/crates/turbopack-trace-server/src/span_ref.rs b/turbopack/crates/turbopack-trace-server/src/span_ref.rs index b0f3e71a70e81..51a20a0d5ca52 100644 --- a/turbopack/crates/turbopack-trace-server/src/span_ref.rs +++ b/turbopack/crates/turbopack-trace-server/src/span_ref.rs @@ -345,7 +345,7 @@ impl<'a> SpanRef<'a> { pub fn search(&self, query: &str) -> impl Iterator> { let mut query_items = query.split(",").map(str::trim); - let index: &HashMap>> = self.search_index(); + let index = self.search_index(); let mut result = HashSet::new(); let query = query_items.next().unwrap(); for (key, spans) in index {