Skip to content

fix clippy warnings for rust 1.53#470

Merged
Dandandan merged 2 commits into
apache:masterfrom
jimexist:fix-clippy-warnings-for-1.53
Jun 19, 2021
Merged

fix clippy warnings for rust 1.53#470
Dandandan merged 2 commits into
apache:masterfrom
jimexist:fix-clippy-warnings-for-1.53

Conversation

@jimexist

@jimexist jimexist commented Jun 19, 2021

Copy link
Copy Markdown
Member

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

codecov-commenter commented Jun 19, 2021

Copy link
Copy Markdown

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.

@jorgecarleitao jorgecarleitao left a comment

Copy link
Copy Markdown
Member

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

nevi-me commented Jun 19, 2021

Copy link
Copy Markdown
Contributor

Thanks, you beat me to this :)

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

alamb commented Jun 20, 2021

Copy link
Copy Markdown
Contributor

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