@@ -177,19 +177,19 @@ mod container {
177
177
type Iter < ' a > = IterOwn < <C :: Container as columnar:: Container < C > >:: Borrowed < ' a > > ;
178
178
fn iter < ' a > ( & ' a self ) -> Self :: Iter < ' a > {
179
179
match self {
180
- Column :: Typed ( t) => t. borrow ( ) . into_iter ( ) ,
181
- Column :: Bytes ( b) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( bytemuck:: cast_slice ( b) ) ) . into_iter ( ) ,
182
- Column :: Align ( a) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( a) ) . into_iter ( ) ,
180
+ Column :: Typed ( t) => t. borrow ( ) . into_index_iter ( ) ,
181
+ Column :: Bytes ( b) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( bytemuck:: cast_slice ( b) ) ) . into_index_iter ( ) ,
182
+ Column :: Align ( a) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( a) ) . into_index_iter ( ) ,
183
183
}
184
184
}
185
185
186
186
type Item < ' a > = C :: Ref < ' a > ;
187
187
type DrainIter < ' a > = IterOwn < <C :: Container as columnar:: Container < C > >:: Borrowed < ' a > > ;
188
188
fn drain < ' a > ( & ' a mut self ) -> Self :: DrainIter < ' a > {
189
189
match self {
190
- Column :: Typed ( t) => t. borrow ( ) . into_iter ( ) ,
191
- Column :: Bytes ( b) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( bytemuck:: cast_slice ( b) ) ) . into_iter ( ) ,
192
- Column :: Align ( a) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( a) ) . into_iter ( ) ,
190
+ Column :: Typed ( t) => t. borrow ( ) . into_index_iter ( ) ,
191
+ Column :: Bytes ( b) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( bytemuck:: cast_slice ( b) ) ) . into_index_iter ( ) ,
192
+ Column :: Align ( a) => <<C :: Container as columnar:: Container < C > >:: Borrowed < ' a > as FromBytes >:: from_bytes ( & mut Indexed :: decode ( a) ) . into_index_iter ( ) ,
193
193
}
194
194
}
195
195
}
0 commit comments