X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftools%2Frustfmt%2FContributing.md;h=1b77dad11f0fe9b397de1f4ddc28f1452d4dd7a2;hb=e84c9aed6d82eddcaf96d1c4fe90adcd2182b9a0;hp=131f38dd06a2b74031117e4f692cf5edd3d86050;hpb=2a8eeafa9df6c04e21cdc6b31b798977c68253c3;p=rust.git diff --git a/src/tools/rustfmt/Contributing.md b/src/tools/rustfmt/Contributing.md index 131f38dd06a..1b77dad11f0 100644 --- a/src/tools/rustfmt/Contributing.md +++ b/src/tools/rustfmt/Contributing.md @@ -38,7 +38,7 @@ colourised diff will be printed so that the offending line(s) can quickly be identified. Without explicit settings, the tests will be run using rustfmt's default -configuration. It is possible to run a test using non-default settings in several +configuration. It is possible to run a test using non-default settings in several ways. Firstly, you can include configuration parameters in comments at the top of the file. For example: to use 3 spaces per tab, start your test with `// rustfmt-tab_spaces: 3`. Just remember that the comment is part of the input,