Fix CI failures (mostly linting with clippy)#1171
Fix CI failures (mostly linting with clippy)#1171jturner314 merged 7 commits intorust-ndarray:masterfrom
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_declandprivate_implmacros - it seems to me theprivate_declcan 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.