diff --git a/README.md b/README.md index 420859e9051..f3e5b9da09c 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,14 @@ to run on a cargo project in the current working directory: cargo fmt ``` +For the latest and greatest `rustfmt` (nightly required): +``` +rustup component add rustfmt-preview --toolchain nightly +``` +To run: +``` +cargo +nightly fmt +``` ## Limitations