Skip to content

Commit aa45189

Browse files
committed
avro_test: fix clippy warning cmp-owned
1 parent c62d931 commit aa45189

File tree

1 file changed

+1
-1
lines changed
  • datafusion/src/physical_plan

1 file changed

+1
-1
lines changed

datafusion/src/physical_plan/avro.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ mod tests {
445445
assert!(matches!(
446446
avro_exec,
447447
Err(DataFusionError::NotImplemented(msg))
448-
if msg == "cannot read avro schema without the 'avro' feature enabled".to_string()
448+
if msg == *"cannot read avro schema without the 'avro' feature enabled"
449449
));
450450

451451
Ok(())

0 commit comments

Comments
 (0)