]> git.lizzy.rs Git - rust.git/commitdiff
add cargo clippy link
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 10 Sep 2015 01:31:28 +0000 (07:01 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 10 Sep 2015 01:31:28 +0000 (07:01 +0530)
README.md

index fdd341efa45fd5af463fa0cceb17b97e004a3f14..3e048c7ed0750d9c4dc3b955eef060cb00ade7f4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,6 +3,8 @@
 
 A collection of lints that give helpful tips to newbies and catch oversights.
 
+[Jump to usage instructions](#usage)
+
 ##Lints
 There are 56 lints included in this crate:
 
@@ -77,6 +79,8 @@ Add in your `Cargo.toml`:
 clippy = "*"
 ```
 
+You may also use [`cargo clippy`](https://github.com/arcnmx/cargo-clippy), a custom cargo subcommand that runs clippy on a given project.
+
 Sample `main.rs`:
 ```rust
 #![feature(plugin)]
@@ -93,7 +97,7 @@ fn main(){
 }
 ```
 
-Produce this warning:
+Produces this warning:
 ```
 src/main.rs:8:5: 11:6 warning: you seem to be trying to use match for destructuring a single type. Consider using `if let`, #[warn(single_match)] on by default
 src/main.rs:8     match x {