Skip to content

Commit 05e7ce9

Browse files
authored
Merge pull request rust-lang#2373 from rust-lang/tshepang-patch-2
avoid duplicating commands
2 parents 30b54ad + 6e966d7 commit 05e7ce9

File tree

1 file changed

+5
-4
lines changed
  • src/doc/rustc-dev-guide/src/tests

1 file changed

+5
-4
lines changed

src/doc/rustc-dev-guide/src/tests/intro.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,12 @@ by passing a path to a book to `./x test`.
102102
103103
### Documentation link checker
104104

105-
Links across all documentation is validated with a link checker tool.
105+
Links across all documentation is validated with a link checker tool,
106+
and it can be invoked so:
106107

107-
> Example: `./x test src/tools/linkchecker`
108-
109-
> Example: `./x test linkchecker`
108+
```console
109+
./x test linkchecker
110+
```
110111

111112
This requires building all of the documentation, which might take a while.
112113

0 commit comments

Comments
 (0)