This is an automated email from the ASF dual-hosted git repository. jiayuliu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push: new 1d0abfafe fix clippy issues (#3398) 1d0abfafe is described below commit 1d0abfafe0da7c28b562fa0ba8c65a10b65a0821 Author: Jiayu Liu <jimex...@users.noreply.github.com> AuthorDate: Tue Dec 27 19:49:51 2022 +0800 fix clippy issues (#3398) --- arrow-integration-test/src/field.rs | 2 +- arrow-integration-testing/src/bin/arrow-file-to-stream.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arrow-integration-test/src/field.rs b/arrow-integration-test/src/field.rs index 4bfbf8e99..dd0519157 100644 --- a/arrow-integration-test/src/field.rs +++ b/arrow-integration-test/src/field.rs @@ -253,7 +253,7 @@ pub fn field_from_json(json: &serde_json::Value) -> Result<Field> { }; let mut field = - Field::new_dict(&name, data_type, nullable, dict_id, dict_is_ordered); + Field::new_dict(name, data_type, nullable, dict_id, dict_is_ordered); field.set_metadata(metadata); Ok(field) } diff --git a/arrow-integration-testing/src/bin/arrow-file-to-stream.rs b/arrow-integration-testing/src/bin/arrow-file-to-stream.rs index e939fe4f0..3e027faef 100644 --- a/arrow-integration-testing/src/bin/arrow-file-to-stream.rs +++ b/arrow-integration-testing/src/bin/arrow-file-to-stream.rs @@ -30,7 +30,7 @@ struct Args { fn main() -> Result<()> { let args = Args::parse(); - let f = File::open(&args.file_name)?; + let f = File::open(args.file_name)?; let reader = BufReader::new(f); let mut reader = FileReader::try_new(reader, None)?; let schema = reader.schema();