Skip to content

Commit b5e5cd1

Browse files
ronnodasphimuemue
authored andcommitted
doc for added trait
1 parent 25a6413 commit b5e5cd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/combinations.rs

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ pub struct CombinationsGeneric<I: Iterator, Idx> {
3939
first: bool,
4040
}
4141

42+
/// A type holding indices of elements in a pool or buffer of items from an inner iterator
43+
/// and used to pick out different combinations in a generic way.
4244
pub trait PoolIndex<T>: BorrowMut<[usize]> {
4345
type Item;
4446

0 commit comments

Comments
 (0)