We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd93bf commit 04832faCopy full SHA for 04832fa
src/tests/intro.md
@@ -63,6 +63,15 @@ including:
63
64
Example: `./x.py test src/tools/tidy`
65
66
+- **Formatting** – Rustfmt is integrated with the build system to enforce
67
+ uniform style across the compiler. In the CI, we check that the formatting
68
+ is correct.
69
+
70
+ Example: `./x.py fmt --check` checks formatting an exits with an error if
71
+ formatting is needed.
72
73
+ Example: `./x.py fmt` runs rustfmt on the codebase.
74
75
- **Unit tests** – The Rust standard library and many of the Rust packages
76
include typical Rust `#[test]` unittests. Under the hood, `x.py` will run
77
`cargo test` on each package to run all the tests.
0 commit comments