Skip to content

Commit 0901f07

Browse files
committed
Fix semantic conflict with array slots
Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent bd9f543 commit 0901f07

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

vortex-array/src/arrays/masked/execute.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,7 @@ fn mask_validity_variant(
224224
// Child has an array-backed validity stored as its first child.
225225
// Combine with the mask and replace that child via with_children.
226226
let combined = combine_validity(&child_validity, mask, len, ctx)?;
227-
let mut children = child.children();
228-
children[0] = combined.to_array(len);
229-
let new_child = child.with_children(children)?;
227+
let new_child = child.with_slot(0, combined.to_array(len))?;
230228
Ok(VariantArray::new(new_child))
231229
}
232230
}

0 commit comments

Comments
 (0)