File tree 1 file changed +3
-2
lines changed
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 {
99
99
}
100
100
}
101
101
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.
104
104
pub trait ArrayOrVecHelper : BorrowMut < [ usize ] > {
105
105
type Item < T > ;
106
106
type Length : MaybeConstUsize ;
@@ -117,6 +117,7 @@ pub trait ArrayOrVecHelper: BorrowMut<[usize]> {
117
117
118
118
fn from_fn < F : Fn ( usize ) -> usize > ( k : Self :: Length , f : F ) -> Self ;
119
119
120
+ /// Create an array/vec/... of indices from 0 to `len - 1`.
120
121
fn start ( len : Self :: Length ) -> Self
121
122
where
122
123
Self : Sized ,
You can’t perform that action at this time.
0 commit comments