Skip to content

Commit

Permalink
Removed let _ which was unnecessary (#40)
Browse files Browse the repository at this point in the history
No need to assign to an unbound value - just call next.
  • Loading branch information
PrismaPhonic authored and jonhoo committed Feb 8, 2019
1 parent efd6d8b commit ce1c41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flamegraph/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ fn flow<'a, LI, TI>(
}

// move along prefix iterators
let _ = last.next();
let _ = this.next();
last.next();
this.next();
shared_depth += 1;
}

Expand Down

0 comments on commit ce1c41a

Please sign in to comment.