hyper
hyper copied to clipboard
Add clippy to CI
Adds limited clippy run to CI.
There were two clippy warnings which seemed useful, they're in the second commit. If you don't like them I'm happy to drop the commit.
Resolves #2977 Superseeds https://github.com/hyperium/hyper/pull/2979
Thank you! I'm still surprised this doesn't catch that there is an ext.rs and ext/ folder. When I noticed those two existed, that's why I filed the original issue. Am I misunderstanding what that lint catches?
Seems like there are some bugs in the lint: https://github.com/rust-lang/rust-clippy/issues/8094