From a447b6896043facbd234bd57213cfae58244d46d 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..54a027551 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;