]> git.lizzy.rs Git - rust.git/commitdiff
make cargo install easier
authorNick Cameron <ncameron@mozilla.com>
Wed, 16 Dec 2015 05:00:40 +0000 (18:00 +1300)
committerNick Cameron <ncameron@mozilla.com>
Wed, 16 Dec 2015 05:00:40 +0000 (18:00 +1300)
README.md

index 48620c80f64b47dad86e9e283d459c03d6a1ad5e..88d332de2fdde6f987aa260ff5b535c2cf9674fb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ If you'd like to help out (and you should, it's a fun project!), see
 To install:
 
 ```
-cargo install --git https://github.com/rust-lang-nursery/rustfmt
+cargo install rustfmt
 ```
 
 to run on a cargo project in the current working directory:
@@ -25,20 +25,20 @@ cargo fmt
 > newer.
 
 ```
-cargo install --git https://github.com/rust-lang-nursery/rustfmt
+cargo install rustfmt
 ```
 
 or if you're using [`multirust`](https://github.com/brson/multirust)
 
 ```
-multirust run nightly cargo install --git https://github.com/rust-lang-nursery/rustfmt
+multirust run nightly cargo install rustfmt
 ```
 
 Usually cargo-fmt, which enables usage of Cargo subcommand `cargo fmt`, is
 installed alongside rustfmt. To only install rustfmt run
 
 ```
-cargo install --no-default-features --git https://github.com/rust-lang-nursery/rustfmt
+cargo install --no-default-features rustfmt
 ```
 
 ## Running