Skip to content

Commit

Permalink
chore: cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikkon committed Mar 31, 2024
1 parent 677bd2e commit ad1c69b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arrow-array/src/array/list_view_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,18 +1139,18 @@ mod tests {
let values = Arc::new(values) as ArrayRef;

let field = Arc::new(Field::new("element", DataType::Int32, false));
let err = LargeListViewArray::try_new(
field,
let _err = LargeListViewArray::try_new(
field.clone(),
offsets.clone(),
sizes.clone(),
values.clone(),
None,
)
.unwrap_err();
let nulls = NullBuffer::new_null(4);
ListViewArray::new(
LargeListViewArray::new(
field.clone(),
offsets,
offsets.clone(),
sizes.clone(),
values.clone(),
Some(nulls),
Expand Down

0 comments on commit ad1c69b

Please sign in to comment.