File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ impl MaybeConstUsize for usize {
9999 }
100100}
101101
102- /// A type holding indices of elements in a pool or buffer of items from an inner iterator
103- /// and used to pick out different combinations in a generic way.
102+ /// A type holding indices, mostly used to pick out different combinations of elements from
103+ /// a pool or buffer of items from an inner iterator in a generic way.
104104pub trait ArrayOrVecHelper : BorrowMut < [ usize ] > {
105105 type Item < T > ;
106106 type Length : MaybeConstUsize ;
@@ -117,6 +117,7 @@ pub trait ArrayOrVecHelper: BorrowMut<[usize]> {
117117
118118 fn from_fn < F : Fn ( usize ) -> usize > ( k : Self :: Length , f : F ) -> Self ;
119119
120+ /// Create an array/vec/... of indices from 0 to `len - 1`.
120121 fn start ( len : Self :: Length ) -> Self
121122 where
122123 Self : Sized ,
You can’t perform that action at this time.
0 commit comments