Skip to content

Commit

Permalink
elide lifetimes in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
basdirks-purple committed Oct 4, 2024
1 parent 10a2571 commit cdd5592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/algo/bfs_iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl<'a, D> BfsPushBack<'a, D> {
}
}

impl<'a, D> Iterator for BfsPushBack<'a, D>
impl<D> Iterator for BfsPushBack<'_, D>
where
D: OutNeighbors,
{
Expand Down Expand Up @@ -140,7 +140,7 @@ impl<'a, D> BfsExtend<'a, D> {
}
}

impl<'a, D> Iterator for BfsExtend<'a, D>
impl<D> Iterator for BfsExtend<'_, D>
where
D: OutNeighbors,
{
Expand Down

0 comments on commit cdd5592

Please sign in to comment.