Skip to content

Conversation

@DarrenTsung
Copy link

As a Rust newbie myself, I had a couple small pitfalls setting up clippy for my existing project.

I wasn't exactly sure how the attribute tabs were working, so I didn't realize that I needed both lines (one for feature(plugin) to be enabled, the other for using the plugin feature to enable clippy through a flag). To clarify, I added ", add these lines", where lines implies that both of these lines should be added to either main.rs or lib.rs. Also I removed the space between the lines to visually group them.

Additionally, I realize that in the README above it says that clippy must be run with the latest nightly, but I missed that on first read through. Would it be useful to add +nightly to the commands in the README? It seems better that the commands listed in the README work without any modification.

Let me know if I did anything wrong - I'm still pretty new to using Rust! Also thanks for clippy, it is an amazing tool :).

Darren Tsung added 2 commits December 21, 2017 15:21
@mcarton
Copy link
Contributor

mcarton commented Dec 21, 2017

Thanks!

@mcarton mcarton merged commit ebcdf03 into rust-lang:master Dec 21, 2017
@DarrenTsung DarrenTsung deleted the readme-clarify-add-lines branch December 22, 2017 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants