Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 22, 2023
1 parent f902d6e commit 9f267b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/proto/src/logical_plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ pub(crate) fn writer_options_from_proto(
props: &protobuf::WriterProperties,
) -> Result<WriterProperties, DataFusionError> {
let writer_version = WriterVersion::from_str(&props.writer_version)
.map_err(|e| proto_error(format!("{}", e)))?;
.map_err(|e| proto_error(e.to_string()))?;
Ok(WriterProperties::builder()
.set_created_by(props.created_by.clone())
.set_writer_version(writer_version)
Expand Down

0 comments on commit 9f267b4

Please sign in to comment.