Skip to content

Commit a447b68

Browse files
ronnodasphimuemue
authored andcommitted
doc for added trait
1 parent d0479b0 commit a447b68

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)