Skip to content

Commit 10d22d5

Browse files
committed
fixes
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 48ad9d6 commit 10d22d5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

encodings/sparse/src/canonical.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ fn execute_sparse_lists(
184184
// of the count below is what the builder will actually hold rather than an over-estimate.
185185
let values = resolved
186186
.values()
187-
.as_::<ListView>()
188-
.into_owned()
187+
.clone()
188+
.downcast::<ListView>()
189189
.rebuild(ListViewRebuildMode::MakeExact, ctx)?;
190190

191191
// Each gap between patches is appended as one constant array, whose canonical form points

vortex-array/src/builders/listview.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub struct ListViewBuilder<O: OffsetBuilderPType, S: OffsetBuilderPType> {
7272

7373
/// Whether the appends so far leave the result zero-copyable to a [`ListArray`].
7474
///
75-
/// Only [`append_listview_array`](Self::append_listview_array) can clear this; every other
75+
/// Only [`append_listview_array`] can clear this; every other
7676
/// append writes its lists back to back.
7777
///
7878
/// [`ListArray`]: crate::arrays::ListArray

0 commit comments

Comments
 (0)