You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
415: Simplify `Combinations::next` r=jswrenn a=phimuemue
* `pool.len` looks up the length of a vector, ([which is just a field lookup](https://doc.rust-lang.org/src/alloc/vec.rs.html#1335-1337)), so I see no real value in manually doing the same computation.
* Checking `pool.is_done` before calling `pool.get_next` is redundant, as `get_next` does the same check internally.
Co-authored-by: philipp <descpl@yahoo.de>
0 commit comments