]> git.lizzy.rs Git - rust.git/commitdiff
Clarify that -L needs the path to clippy_so's directory
authorSebastian Hahn <sebastian@torproject.org>
Wed, 26 Apr 2017 10:12:56 +0000 (12:12 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 26 Apr 2017 10:12:56 +0000 (12:12 +0200)
This confused me and led to #1701, hopefully it's clearer now

README.md

index f63e7412bb4902aceffc429809e9cdd66db2bbc5..8d60c8f60f52e5bc97d049b456d4a323b93df812 100644 (file)
--- a/README.md
+++ b/README.md
@@ -80,7 +80,7 @@ To have cargo compile your crate with clippy without needing `#![plugin(clippy)]
 in your code, you can use:
 
 ```terminal
-cargo rustc -- -L /path/to/clippy_so -Z extra-plugins=clippy
+cargo rustc -- -L /path/to/clippy_so/dir/ -Z extra-plugins=clippy
 ```
 
 *[Note](https://github.com/Manishearth/rust-clippy/wiki#a-word-of-warning):*