Closed Twinklebear closed 6 years ago
If clippy is enabled by default on nightly, won't that lead to spurious failures whenever clippy and nightly are out of sync?
It will, so I've made the nightly build optional to fail. I can also add a non-clippy nightly build which is not allowed to fail in the build matrix to make sure the library is still building on nightly (and not just failing due to clippy).
Oh, I misread the travis config; the way you have it is fine. Nightly is unstable so failures in it shouldn't be considered blocking.
Thanks! Sorry for the slow merge.
No worries, thanks!
This PR fixes some various lints from clippy and adds the
unstable
feature to run clippy on Travis builds with the nightly compiler as well, to pick up new lints on each commit.I've left some clippy lints unfixed (about the documentation formatting, and some on too many params for a function), but can do these as well. I think the "too many args for function" ones are actually ok.