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

rust: update to edition2021 #1522

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

Desiki-high
Copy link
Member

Relevant Issue (if applicable)

N/A

Details

Since we are using cargo 1.68.2 we don't need to require edition 2018 any more.

Types of changes

What types of changes does your PullRequest introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

Since we are using cargo 1.68.2 we don't need to require edition 2018 any more.

Signed-off-by: Yadong Ding <ding_yadong@foxmail.com>
@Desiki-high Desiki-high requested a review from a team as a code owner December 15, 2023 01:51
@Desiki-high Desiki-high requested review from jiangliu, adamqqqplay and power-more and removed request for a team December 15, 2023 01:51
@Desiki-high
Copy link
Member Author

I have used cargo fix --edition to make sure no new issues were created. Ref: https://doc.rust-lang.org/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html.

Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Merging #1522 (1d1ce03) into master (194641a) will decrease coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1522      +/-   ##
==========================================
- Coverage   62.73%   62.72%   -0.02%     
==========================================
  Files         129      129              
  Lines       44158    44153       -5     
  Branches    44158    44153       -5     
==========================================
- Hits        27703    27695       -8     
+ Misses      15088    15087       -1     
- Partials     1367     1371       +4     

see 6 files with indirect coverage changes

Copy link
Collaborator

@imeoer imeoer left a comment

Choose a reason for hiding this comment

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

LGTM!

@imeoer imeoer merged commit 1d289e2 into dragonflyoss:master Dec 15, 2023
13 checks passed
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.

2 participants