Skip to content

Commit 200fdc1

Browse files
authored
[Turbopack] remove unneeded type annotation (#72390)
### What? cleanup Closes PACK-3393
1 parent 74a19b7 commit 200fdc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbopack/crates/turbopack-trace-server/src/span_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ impl<'a> SpanRef<'a> {
345345

346346
pub fn search(&self, query: &str) -> impl Iterator<Item = SpanRef<'a>> {
347347
let mut query_items = query.split(",").map(str::trim);
348-
let index: &HashMap<String, Vec<std::num::NonZero<usize>>> = self.search_index();
348+
let index = self.search_index();
349349
let mut result = HashSet::new();
350350
let query = query_items.next().unwrap();
351351
for (key, spans) in index {

0 commit comments

Comments
 (0)