From 64447fbf9b8a610c1a6d07039f6648b0b3f89d47 Mon Sep 17 00:00:00 2001 From: Ronno Das Date: Fri, 20 Sep 2024 07:45:34 +0200 Subject: [PATCH] doc for added trait --- src/combinations.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/combinations.rs b/src/combinations.rs index f5aa4630e..f2f84279c 100644 --- a/src/combinations.rs +++ b/src/combinations.rs @@ -39,6 +39,8 @@ pub struct CombinationsGeneric { 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: BorrowMut<[usize]> { type Item;