Skip to content

Commit 417ec8c

Browse files
committed
Fix stale doc
1 parent dac3cf3 commit 417ec8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

parquet-variant-compute/src/variant_get.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ pub(crate) enum ShreddedPathStep<'a> {
4343
}
4444

4545
/// Given a shredded variant field -- a `(value?, typed_value?)` pair -- try to take one path step
46-
/// deeper. For a `VariantPathElement::Field`, the step fails if there is no `typed_value` at this
47-
/// level, or if `typed_value` is not a struct, or if the requested field name does not exist.
46+
/// deeper. For a `VariantPathElement::Field`, if there is no `typed_value` at this level, if
47+
/// `typed_value` is not a struct, or if the requested field name does not exist, traversal returns
48+
/// a missing-path step (`Missing` or `NotShredded` depending on whether `value` exists).
4849
///
4950
/// TODO: Support `VariantPathElement::Index`? It wouldn't be easy, and maybe not even possible.
5051
pub(crate) fn follow_shredded_path_element<'a>(

0 commit comments

Comments
 (0)