We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad1325 commit 061d7cdCopy full SHA for 061d7cd
datafusion-federation/src/schema_cast/record_convert.rs
@@ -33,13 +33,12 @@ impl std::fmt::Display for Error {
33
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
34
match self {
35
Error::UnableToConvertRecordBatch { source } => {
36
- write!(f, "Unable to convert record batch: {}", source)
+ write!(f, "Unable to convert record batch: {source}")
37
}
38
Error::UnexpectedNumberOfColumns { expected, found } => {
39
write!(
40
f,
41
- "Unexpected number of columns. Expected: {}, Found: {}",
42
- expected, found
+ "Unexpected number of columns. Expected: {expected}, Found: {found}",
43
)
44
45
0 commit comments