Skip to content

Commit

Permalink
chore: cargo clippy & fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikkon committed Mar 31, 2024
1 parent b9ded5b commit d8aba1b
Show file tree
Hide file tree
Showing 10 changed files with 272 additions and 182 deletions.
150 changes: 101 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 d8aba1b

Please sign in to comment.