Skip to content

Commit

Permalink
doc for added trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnodas committed Sep 20, 2024
1 parent c50677b commit 64447fb
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 64447fb

Please sign in to comment.