]> git.lizzy.rs Git - rust.git/commit
Merge #138
authorbors[bot] <bors[bot]@users.noreply.github.com>
Mon, 22 Oct 2018 21:14:38 +0000 (21:14 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Mon, 22 Oct 2018 21:14:38 +0000 (21:14 +0000)
commit27694abd9473c53cee4549dfe5ef5d28d0c01bed
tree6f51587dc28fc8fe28c0971a810541421ea2d829
parent5a64b9a811554473e65db7e7ae515079ca48c70b
parentdc9ce8ff7494f641c7102785cdef95489f2fc3d6
Merge #138

138: Fix some clippy lints r=matklad a=alanhdu

I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI.

They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:.

One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn?

Co-authored-by: Alan Du <alanhdu@gmail.com>
crates/ra_analysis/src/db.rs
crates/ra_analysis/src/descriptors.rs
crates/ra_analysis/src/imp.rs
crates/ra_lsp_server/src/main_loop/handlers.rs
crates/ra_lsp_server/src/project_model.rs
crates/ra_lsp_server/src/thread_watcher.rs