Skip to content

Commit

Permalink
Fix new clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Mar 22, 2024
1 parent 78762dc commit a5a4d28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arrow-csv/src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ mod tests {
#[test]
fn test_bounded() {
let schema = Schema::new(vec![Field::new("int", DataType::UInt32, false)]);
let data = vec![
let data = [
vec!["0"],
vec!["1"],
vec!["2"],
Expand Down Expand Up @@ -1919,7 +1919,7 @@ mod tests {
#[test]
fn test_empty_projection() {
let schema = Schema::new(vec![Field::new("int", DataType::UInt32, false)]);
let data = vec![vec!["0"], vec!["1"]];
let data = [vec!["0"], vec!["1"]];

let data = data
.iter()
Expand Down
2 changes: 1 addition & 1 deletion arrow-row/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ mod tests {

let first = Int32Array::from(vec![None, Some(2), Some(4)]);
let second = Int32Array::from(vec![Some(2), None, Some(4)]);
let arrays = vec![Arc::new(first) as ArrayRef, Arc::new(second) as ArrayRef];
let arrays = [Arc::new(first) as ArrayRef, Arc::new(second) as ArrayRef];

for array in arrays.iter() {
rows.clear();
Expand Down

0 comments on commit a5a4d28

Please sign in to comment.