Skip to content

Commit 6e966d7

Browse files
authored
avoid duplicating commands
The 2 commands do the same thing. Also, follow style used elsewhere in the guide.
1 parent bf06eaf commit 6e966d7

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)