summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2023-08-27 23:05:51 +0100
committerTshepang Mbambo <tshepang@gmail.com>2023-08-28 07:06:58 +0200
commit14926d31225153d4a2d13fc058a995463e5ed443 (patch)
tree6bdf53e5750e64e5469cc874d4e4f8dca47eaa20 /src/doc/rustc-dev-guide
parent6550651bc16a0937d7f0a83ad6d0b187d942da90 (diff)
downloadrust-14926d31225153d4a2d13fc058a995463e5ed443.tar.gz
rust-14926d31225153d4a2d13fc058a995463e5ed443.zip
Reword sentence about using `./x` over `./x.py`
The current sentence was confusing when I first read it. I've reworded it to hopefully make it more clear.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
index 0865f1955c8..a43149e271e 100644
--- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
+++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
@@ -65,8 +65,8 @@ Also, using `x` rather than `x.py` is recommended as:
 Notice that this is not absolute, for instance, using Nushell in VSCode on Win10,
 typing `x` or `./x` still open the `x.py` in editor rather invoke the program :)
 
-In the rest of documents, we use `x` to represent the straightly usage of `x.py`, which
-means the following command:
+In the rest of this guilde, we use `x` rather than `x.py` directly. The following
+command:
 
 ```bash
 ./x check