Skip to content

Commit 5aa43e5

Browse files
committed
fix clippy
1 parent 5b9219d commit 5aa43e5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • datafusion/core/src/datasource/file_format

datafusion/core/src/datasource/file_format/csv.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ mod tests {
12601260
assert!(!col4.is_null(0));
12611261
assert!(col4.is_null(1));
12621262
}
1263-
other => panic!("expected RecordBatch but got {:?}", other),
1263+
other => panic!("expected RecordBatch but got {other:?}"),
12641264
}
12651265
Ok(())
12661266
}
@@ -1306,8 +1306,7 @@ mod tests {
13061306
assert!(
13071307
msg.contains("Encountered unequal lengths")
13081308
|| msg.contains("incorrect number of fields"),
1309-
"unexpected error message: {}",
1310-
msg
1309+
"unexpected error message: {msg}",
13111310
);
13121311
}
13131312

0 commit comments

Comments
 (0)