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 for rust 1.53 #470

Merged
merged 2 commits into from
Jun 19, 2021

Conversation

jimexist
Copy link
Member

@jimexist jimexist commented Jun 19, 2021

Which issue does this PR close?

fix clippy warnings for rust 1.53

Closes #467

Rationale for this change

fixing lint changes introduced by rust 1.53 so that master branch can be mergeable again

What changes are included in this PR?

  • fix assertion links
  • ignoring to_* naming convention lint warnings
  • prefer .collect than from

Are there any user-facing changes?

no user facing changes

@codecov-commenter
Copy link

codecov-commenter commented Jun 19, 2021

Codecov Report

Attention: Patch coverage is 98.60627% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.66%. Comparing base (1f1c637) to head (bc16da9).
Report is 2907 commits behind head on master.

Files with missing lines Patch % Lines
parquet/src/arrow/array_reader.rs 57.14% 3 Missing ⚠️
arrow/src/json/reader.rs 97.56% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #470   +/-   ##
=======================================
  Coverage   82.65%   82.66%           
=======================================
  Files         165      165           
  Lines       45563    45550   -13     
=======================================
- Hits        37662    37653    -9     
+ Misses       7901     7897    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jorgecarleitao jorgecarleitao left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks a lot for the cleanup 👍

@Dandandan Dandandan merged commit 60fedf7 into apache:master Jun 19, 2021
@nevi-me
Copy link
Contributor

nevi-me commented Jun 19, 2021

Thanks, you beat me to this :)

@jimexist jimexist deleted the fix-clippy-warnings-for-1.53 branch June 19, 2021 15:36
@alamb
Copy link
Contributor

alamb commented Jun 20, 2021

Thank you @jimexist

@alamb alamb mentioned this pull request Jun 20, 2021
alamb pushed a commit to alamb/arrow-rs that referenced this pull request Jun 20, 2021
* fix clippy warnings for rust 1.53

* update readme
alamb added a commit that referenced this pull request Jun 20, 2021
* fix clippy warnings for rust 1.53 (#470)

* fix clippy warnings for rust 1.53

* update readme

* Fix up

Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clippy broken after upgrade to rust 1.53
6 participants