We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3e520 commit 41d76b9Copy full SHA for 41d76b9
vortex-dtype/src/dtype.rs
@@ -403,7 +403,7 @@ impl DType {
403
}
404
405
/// Get the `StructDType` if `self` is a `StructDType`, otherwise `None`
406
- pub fn into_struct_fields_opt(self) -> StructFields {
+ pub fn into_struct_fields_opt(self) -> Option<StructFields> {
407
if let Struct(f, _) = self {
408
Some(f)
409
} else {
0 commit comments