Merge pull request #2780 from DanielEScherzer/patch-1
rustdoc.md: consistently use `./x` rather than `./x.py`
diff --git a/src/rustdoc.md b/src/rustdoc.md
index 47b18f4..6f46040 100644
--- a/src/rustdoc.md
+++ b/src/rustdoc.md
@@ -57,8 +57,8 @@
* Use `./x test tests/rustdoc*` to run the tests using a stage1
rustdoc.
* See [Rustdoc internals] for more information about tests.
-* Use `./x.py test tidy --extra-checks=js` to run rustdoc’s JavaScript checks (`eslint`, `es-check`, and `tsc`).
-> **Note:** `./x.py test tidy` already runs these checks automatically when JS/TS sources changed; `--extra-checks=js` forces them explicitly.
+* Use `./x test tidy --extra-checks=js` to run rustdoc’s JavaScript checks (`eslint`, `es-check`, and `tsc`).
+> **Note:** `./x test tidy` already runs these checks automatically when JS/TS sources changed; `--extra-checks=js` forces them explicitly.
### JavaScript CI checks
@@ -66,7 +66,7 @@
These run as part of the `tidy` job.
```console
-./x.py test tidy --extra-checks=js
+./x test tidy --extra-checks=js
```
The `--extra-checks=js` flag enables the frontend linting that runs in CI.