Skip to content

Commit

Permalink
doc for added trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnodas authored and phimuemue committed Sep 20, 2024
1 parent 25a6413 commit b5e5cd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/combinations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ pub struct CombinationsGeneric<I: Iterator, Idx> {
first: bool,
}

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

Expand Down

0 comments on commit b5e5cd1

Please sign in to comment.