Skip to content

Commit

Permalink
Fix todo in into_array_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Dec 27, 2024
1 parent 9a1e946 commit b4ecffa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/geoarrow/src/array/dynamic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ impl ArrayBase for NativeArrayDyn {
}

fn into_array_ref(self) -> ArrayRef {
todo!()
// self.0.as_ref().clone().into_array_ref()
// We can't move out of the Arc
self.to_array_ref()
}

fn to_array_ref(&self) -> ArrayRef {
Expand Down Expand Up @@ -196,8 +196,8 @@ impl ArrayBase for SerializedArrayDyn {
}

fn into_array_ref(self) -> ArrayRef {
todo!()
// self.0.as_ref().clone().into_array_ref()
// We can't move out of the Arc
self.to_array_ref()
}

fn to_array_ref(&self) -> ArrayRef {
Expand Down

0 comments on commit b4ecffa

Please sign in to comment.