Unverified Commit 200fdc12 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

[Turbopack] remove unneeded type annotation (#72390)

### What?

cleanup 

Closes PACK-3393
parent 74a19b74
...@@ -345,7 +345,7 @@ impl<'a> SpanRef<'a> { ...@@ -345,7 +345,7 @@ impl<'a> SpanRef<'a> {
pub fn search(&self, query: &str) -> impl Iterator<Item = SpanRef<'a>> { pub fn search(&self, query: &str) -> impl Iterator<Item = SpanRef<'a>> {
let mut query_items = query.split(",").map(str::trim); let mut query_items = query.split(",").map(str::trim);
let index: &HashMap<String, Vec<std::num::NonZero<usize>>> = self.search_index(); let index = self.search_index();
let mut result = HashSet::new(); let mut result = HashSet::new();
let query = query_items.next().unwrap(); let query = query_items.next().unwrap();
for (key, spans) in index { for (key, spans) in index {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment