Skip to content

Commit 061d7cd

Browse files
authored
Minor clippy fixes introduced in rust 1.88 (#132)
1 parent fad1325 commit 061d7cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

datafusion-federation/src/schema_cast/record_convert.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ impl std::fmt::Display for Error {
3333
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
3434
match self {
3535
Error::UnableToConvertRecordBatch { source } => {
36-
write!(f, "Unable to convert record batch: {}", source)
36+
write!(f, "Unable to convert record batch: {source}")
3737
}
3838
Error::UnexpectedNumberOfColumns { expected, found } => {
3939
write!(
4040
f,
41-
"Unexpected number of columns. Expected: {}, Found: {}",
42-
expected, found
41+
"Unexpected number of columns. Expected: {expected}, Found: {found}",
4342
)
4443
}
4544
}

0 commit comments

Comments
 (0)