Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikkon committed Mar 31, 2024
1 parent a3e53db commit 677bd2e
Show file tree
Hide file tree
Showing 10 changed files with 225 additions and 175 deletions.
146 changes: 97 additions & 49 deletions arrow-array/src/array/list_view_array.rs

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions arrow-array/src/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,7 @@ unsafe fn get_sizes<O: ArrowNativeType>(data: &ArrayData) -> SizeBuffer<O> {
match data.is_empty() && data.buffers()[1].is_empty() {
true => SizeBuffer::new_empty(),
false => {
let buffer =
ScalarBuffer::new(data.buffers()[1].clone(), data.offset(), data.len());
let buffer = ScalarBuffer::new(data.buffers()[1].clone(), data.offset(), data.len());
// Safety:
// ArrayData is valid
SizeBuffer::new(buffer)
Expand Down
Loading

0 comments on commit 677bd2e

Please sign in to comment.