-
Notifications
You must be signed in to change notification settings - Fork 2
Add clippy #16
Comments
Good idea. Looking at: https://github.com/Manishearth/rust-clippy#usage Is it as simple as adding this to
|
Give it a try :-) |
I tried it, but get a compilation error. I didn't see an obvious solution in the rust-clippy Github project. Any ideas?
|
I missed this in the "Usage" section: "Compiler plugins are highly unstable and will only work with a nightly Rust for now." Perhaps we wait until some of the features it relies on are in a stable Rust release? |
I guess it's better to wait. I'm currently using Rust 1.5.0 stable and it seems not reasonable to switch to nightly just for clippy. Let's keep this issue open, but may move it to the next milestone if clippy doesn't get stable. |
Since clippy not gonna be available for the stable branch any time soon, it might make sense to add clippy in a way that it only runs, if delix is compiled with a nightly rust. The output from travis ci could be used than to get some lints. |
In order to improve the code, clippy could help to remove some code smells.
The text was updated successfully, but these errors were encountered: