Skip to content

Commit 6f53f22

Browse files
Merge pull request #657 from antiguru/bump_columnar
Update columnar to 0.4.1
2 parents b43381b + f151cf6 commit 6f53f22

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resolver = "2"
1313
edition = "2021"
1414

1515
[workspace.dependencies]
16-
columnar = "0.3"
16+
columnar = "0.4.1"
1717

1818
[workspace.lints.clippy]
1919
type_complexity = "allow"

timely/examples/columnar.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,19 +177,19 @@ mod container {
177177
type Iter<'a> = IterOwn<<C::Container as columnar::Container<C>>::Borrowed<'a>>;
178178
fn iter<'a>(&'a self) -> Self::Iter<'a> {
179179
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(),
183183
}
184184
}
185185

186186
type Item<'a> = C::Ref<'a>;
187187
type DrainIter<'a> = IterOwn<<C::Container as columnar::Container<C>>::Borrowed<'a>>;
188188
fn drain<'a>(&'a mut self) -> Self::DrainIter<'a> {
189189
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(),
193193
}
194194
}
195195
}

0 commit comments

Comments
 (0)