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: several clippy error/warnings after upgrading toolchain #2156

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

waynexia
Copy link
Member

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

  • Fix clippy errors in pyo3 module
  • Fix warnings clippy::needless-pass-by-ref-mut

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

rust toolchain is upgraded in #2049

@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #2156 (c2fd849) into develop (c970c20) will decrease coverage by 0.29%.
Report is 3 commits behind head on develop.
The diff coverage is 60.00%.

@@             Coverage Diff             @@
##           develop    #2156      +/-   ##
===========================================
- Coverage    84.88%   84.59%   -0.29%     
===========================================
  Files          694      695       +1     
  Lines       109966   110366     +400     
===========================================
+ Hits         93344    93365      +21     
- Misses       16622    17001     +379     

@waynexia waynexia changed the title fix: several clippy error/warnings after upgrade toolchain fix: several clippy error/warnings after upgrading toolchain Aug 11, 2023
@waynexia waynexia added this pull request to the merge queue Aug 11, 2023
@sunng87 sunng87 removed this pull request from the merge queue due to a manual request Aug 11, 2023
@sunng87 sunng87 merged commit 4fd1057 into GreptimeTeam:develop Aug 11, 2023
15 checks passed
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
…eTeam#2156)

* fix pyscripts mod

Signed-off-by: Ruihang Xia <[email protected]>

* fix clippy::needless-pass-by-ref-mut

Signed-off-by: Ruihang Xia <[email protected]>

* add pyo3 feature gate in Makefile

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
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.

3 participants