Skip to content

Commit 2d58c76

Browse files
committed
Clippy
1 parent 31ca29f commit 2d58c76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datafusion/common/src/types/canonical.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl ValuePrettyPrinter for UuidValuePrettyPrinter {
5858
)
5959
})?;
6060
let uuid = uuid::Uuid::from_bytes(bytes);
61-
Ok(format!("arrow.uuid({})", uuid))
61+
Ok(format!("arrow.uuid({uuid})"))
6262
}
6363
None => Ok("arrow.uuid(NULL)".to_owned()),
6464
},
@@ -102,7 +102,7 @@ struct OpaqueValuePrettyPrinter;
102102

103103
impl ValuePrettyPrinter for OpaqueValuePrettyPrinter {
104104
fn pretty_print_scalar(&self, value: &ScalarValue) -> Result<String> {
105-
Ok(format!("arrow.opaque({})", value))
105+
Ok(format!("arrow.opaque({value})"))
106106
}
107107
}
108108

@@ -158,7 +158,7 @@ impl LogicalType for UnresolvedExtensionType {
158158
parameters: vec![],
159159
});
160160
TypeSignature::Extension {
161-
name: &"datafusion.unresolved",
161+
name: "datafusion.unresolved",
162162
parameters: vec![inner_type],
163163
}
164164
}
@@ -175,7 +175,7 @@ struct UnresolvedValuePrettyPrinter {}
175175

176176
impl ValuePrettyPrinter for UnresolvedValuePrettyPrinter {
177177
fn pretty_print_scalar(&self, value: &ScalarValue) -> Result<String> {
178-
Ok(format!("datafusion.unresolved({})", value))
178+
Ok(format!("datafusion.unresolved({value})"))
179179
}
180180
}
181181

0 commit comments

Comments
 (0)