Skip to content

Commit 580b72c

Browse files
committed
include ./ in example x.py commands for smoother copy-paste experience
The current directory is typically not on the user's $PATH.
1 parent 3eeb304 commit 580b72c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustdoc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
3333

3434
## Cheat sheet
3535

36-
* Use `x.py build --stage 1 src/libstd src/tools/rustdoc` to make a useable
36+
* Use `./x.py build --stage 1 src/libstd src/tools/rustdoc` to make a useable
3737
rustdoc you can run on other projects.
3838
* Add `src/libtest` to be able to use `rustdoc --test`.
3939
* If you've used `rustup toolchain link local /path/to/build/$TARGET/stage1`
4040
previously, then after the previous build command, `cargo +local doc` will
4141
Just Work.
42-
* Use `x.py doc --stage 1 src/libstd` to use this rustdoc to generate the
42+
* Use `./x.py doc --stage 1 src/libstd` to use this rustdoc to generate the
4343
standard library docs.
4444
* The completed docs will be available in `build/$TARGET/doc/std`, though the
4545
bundle is meant to be used as though you would copy out the `doc` folder to

0 commit comments

Comments
 (0)