Closed epage closed 3 years ago
This ensures users can abstract over two different types of Generators, as long as their Output is the same.
Generator
Output
This mirrors itertools::Either which re-exports either::Either. In our case, we also have to add impl Generator.
itertools::Either
either::Either
impl Generator
Looks good! Thank you!
This ensures users can abstract over two different types of
Generator
s, as long as theirOutput
is the same.This mirrors
itertools::Either
which re-exportseither::Either
. In our case, we also have to addimpl Generator
.