Closed Philippe-Cholet closed 1 year ago
@jswrenn Ooops... I missed that checked_binomial
in combinations.rs
is behind the use_alloc
feature. Where should I move it? In adaptors/mod.rs
I guess as it seems to be the easiest move?
Yes, in adaptors/mod.rs is fine.
This was definitely simpler to implement than it was for
Combinations
(with vector items). The only difficulty is that it's recursive with a macro.According to my notes, all iterators that should have a
size_hint
specialization now have. I like that.The
count_ident
macro is moved to be available library-wide.