Skip to content

Commit

Permalink
remove unneeded type
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Nov 6, 2024
1 parent 5d5a51d commit cb2946b
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 cb2946b

Please sign in to comment.