Skip to content

Commit 4f3ca00

Browse files
committed
Remove --stage 1 argument from doc invocations
1 parent 5b63bc2 commit 4f3ca00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rustdoc-internals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ server. To test these features locally, you can run a local HTTP server, like
245245
this:
246246

247247
```bash
248-
$ ./x.py doc library/std --stage 1
248+
$ ./x.py doc library/std
249249
# The documentation has been generated into `build/[YOUR ARCH]/doc`.
250250
$ python3 -m http.server -d build/[YOUR ARCH]/doc
251251
```

src/rustdoc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
4242
* If you've used `rustup toolchain link local /path/to/build/$TARGET/stage1`
4343
previously, then after the previous build command, `cargo +local doc` will
4444
Just Work.
45-
* Use `./x.py doc --stage 1 library/std` to use this rustdoc to generate the
45+
* Use `./x.py doc library/std` to use this rustdoc to generate the
4646
standard library docs.
4747
* The completed docs will be available in `build/$TARGET/doc/std`, though the
4848
bundle is meant to be used as though you would copy out the `doc` folder to

0 commit comments

Comments
 (0)