From c66eaee77c095a31e64c2e6ca56536d50ac31ab9 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 12 Jan 2018 16:03:13 +0530 Subject: [PATCH] Nightly only --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a859d2e8..e4f0f3547 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,12 @@ One way to use clippy is by installing clippy through cargo as a cargo subcommand. ```terminal -cargo install clippy +cargo +nightly install clippy ``` -Now you can run clippy by invoking `cargo clippy`, or -`cargo +nightly clippy` directly from a directory that is usually -compiled with stable. +(The `+nightly` is not necessary if your default `rustup` install is nightly) + +Now you can run clippy by invoking `cargo +nightly clippy`. In case you are not using rustup, you need to set the environment flag `SYSROOT` during installation so clippy knows where to find `librustc` and