Skip to content

Commit

Permalink
[Turbopack] remove unneeded type annotation (#72390)
Browse files Browse the repository at this point in the history
### What?

cleanup 

Closes PACK-3393
  • Loading branch information
sokra authored Nov 7, 2024
1 parent 74a19b7 commit 200fdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbopack/crates/turbopack-trace-server/src/span_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl<'a> SpanRef<'a> {

pub fn search(&self, query: &str) -> impl Iterator<Item = SpanRef<'a>> {
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 query = query_items.next().unwrap();
for (key, spans) in index {
Expand Down

0 comments on commit 200fdc1

Please sign in to comment.