Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clippy warnings from nightly rust 1.82 #6348

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Sep 2, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

Find those warnings when working with nightly toolchain in #6336

What changes are included in this PR?

Fix new clippy warnings.

One rule I didn't touch is too_long_first_doc_paragraph. This does make sense in some scenarios but lots of the reported doc comment have a long first sentence... 🙈

Are there any user-facing changes?

No

@github-actions github-actions bot added parquet Changes to the parquet crate arrow Changes to the arrow crate labels Sep 2, 2024
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thanks!

@Xuanwo
Copy link
Member

Xuanwo commented Sep 2, 2024

One rule I didn't touch is too_long_first_doc_paragraph. This does make sense in some scenarios but lots of the reported doc comment have a long first sentence... 🙈

I remembered that cargo fmt can format them while in nightly.

@waynexia
Copy link
Member Author

waynexia commented Sep 3, 2024

One rule I didn't touch is too_long_first_doc_paragraph. This does make sense in some scenarios but lots of the reported doc comment have a long first sentence... 🙈

I remembered that cargo fmt can format them while in nightly.

Not in this case. I guess it's not a simple format problem but we need to rephase some sentences. I'd give it a try in a seperated follow-up PR (I tried a few cases and it turns out to be a not very trivial change...)

Copy link
Contributor

@crepererum crepererum left a comment

Choose a reason for hiding this comment

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

thanks

@crepererum crepererum merged commit d4be752 into apache:master Sep 3, 2024
27 checks passed
@waynexia waynexia deleted the fix-clippy-3 branch September 5, 2024 07:21
@waynexia waynexia mentioned this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants