Skip to content

Commit 8ba3d58

Browse files
committed
fix: Update split_offsets method to return Option<&[i64]> directly
1 parent b8ef5c5 commit 8ba3d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/python/src/data_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl PyDataFile {
144144

145145
#[getter]
146146
fn split_offsets(&self) -> Option<&[i64]> {
147-
self.inner.split_offsets().map(|s| s.to_vec())
147+
self.inner.split_offsets()
148148
}
149149

150150
#[getter]

0 commit comments

Comments
 (0)