-
Notifications
You must be signed in to change notification settings - Fork 527
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 introduced with 2021 edition #553
Comments
So I looked into this just because I was curious, and noticed that there were a decent number of warnings already showing up without changing the edition. Would you be willing to take a look at a PR that addresses existing warnings? |
I gave it a whirl. If you have a chance to take a look at some point I'd appreciate it! |
Just to follow up on this, it seems like moving up from edition 2018 to 2021 causes problems because edition 2021 was unstable at the time of release of Given the MSRV must be from at least 6 months ago, that means we can set 1.56 as the MSRV to address this on April 21, 2022 or later. (1.56 was released on Oct 21, 2021). |
That being said, we can fix clippy errors with 2021 in stable, we just can't set the library to 2021. |
Yeah I am good to fix clippy errors, we can follow up on the edition update. |
This handles the clippy error that showed up when switching over to edition 2021. Note that we can't move to use edition 2021 until the MSRV is set to 1.56. See tokio-rs#553 for more details.
Looks like since I've last looked at the repo, the update to MSRV 1.56 happened, and we don't have any clippy errors on the 2021 edition, so I _think_ we can just up this value now. Closes tokio-rs#553
I went ahead and followed up with that edition update so we can close this out. |
Closes #553 Co-authored-by: Lucio Franco <[email protected]>
No description provided.
The text was updated successfully, but these errors were encountered: