-
Notifications
You must be signed in to change notification settings - Fork 307
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 CI failures (mostly linting with clippy) #1171
Conversation
Arg, just saw #1165 that already does a good chunk of this! |
224a75c
to
160644b
Compare
3cd5cb1
to
5feca5f
Compare
1200141
to
1a30604
Compare
Thanks for the fixes! I merged #1165 into I haven't investigated the remaining Note on the |
Cherry pick non-breaking portions of #1171 to 0.15.x
Oh wow - thanks for getting this into shape and accepting it! I really appreciate your work on this crate.
Ah, okay. I'll have to look over exactly how this works but that makes sense. Thanks again! |
Hello - I noticed CI has been consistently failing for some time, so this PR is meant to bring it back to green. I think it was mostly (all?) clippy lints that were blocking it. The way the GitHub Actions are set up now this could break again (mostly for more clippy lints) with new versions of Rust. I think it's still good to test like this against new/current versions, and I'm happy to keep an eye out for similar issues in the future.
The most frequent was a lint related to
#[doc(hidden)]
which (according to clippy) does not work within Trait impl blocks. I basically just deleted all of them and also combined theprivate_decl
andprivate_impl
macros - it seems to me theprivate_decl
can serve the full purpose of making the Trait private and providing a default implementation. Please let me know if I got this wrong or you'd like to take a different track.