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 {