From db11d1fd47dd72c724dd283cee9d8bcb801a819b Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Wed, 26 Apr 2017 12:12:56 +0200 Subject: [PATCH] Clarify that -L needs the path to clippy_so's directory This confused me and led to #1701, hopefully it's clearer now --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f63e7412bb4..8d60c8f60f5 100644 --- 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):*