From c024008bd11b219ec9a943716ecd1d23b4042e19 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 14 Jan 2016 17:58:23 +1300 Subject: [PATCH] tweak README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 881a86c7856b..0083f303ca97 100644 --- a/README.md +++ b/README.md @@ -85,12 +85,12 @@ To run rustfmt after this, use `cargo run --bin rustfmt -- filename`. See the notes above on running rustfmt. -## What style does Rustfmt use? +## Configuring Rustfmt Rustfmt is designed to be very configurable. You can create a TOML file called rustfmt.toml, place it in the project directory and it will apply the options in that file. See `cargo run -- --config-help` for the options which are available, -or if you prefer to see source code, [src/config.rs]. +or if you prefer to see source code, [src/config.rs](src/config.rs). By default, Rustfmt uses a style which (mostly) conforms to the [Rust style guidelines](https://github.com/rust-lang/rust/tree/master/src/doc/style).