Skip to content

Conversation

fvaleye
Copy link
Collaborator

@fvaleye fvaleye commented Nov 7, 2022

Description

  • Fix the latest cargo clippy issues in Rust from the version 0.1.65

@fvaleye fvaleye added the binding/rust Issues for the Rust crate label Nov 7, 2022
@fvaleye
Copy link
Collaborator Author

fvaleye commented Nov 8, 2022

To track the issue with the v1.65.0 Rust version with windows-latest on the CI , more information: rust-lang/cargo#11347

array: &StructArray,
null_counts: &mut HashMap<String, ColumnCountStat>,
nest_level: i32,
_nest_level: i32,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one surprises me to see @fvaleye since the nest_level variable does get used within the function body 😕

Copy link
Collaborator Author

@fvaleye fvaleye Nov 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good point @rtyler, I was also surprised to see clippy raising an error on this one... I'll take a closer look.

Copy link
Collaborator Author

@fvaleye fvaleye Nov 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI

76 | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(clippy::only_used_in_recursion)]` implied by `#[deny(warnings)]`
note: parameter used here
  --> rust/src/writer/stats.rs:57:77

@fvaleye fvaleye merged commit 5618cb3 into delta-io:main Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binding/rust Issues for the Rust crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants