Skip to content

Commit 6775775

Browse files
authored
rustdoc.md: reorder list so test suites are not split up
1 parent 5d24aed commit 6775775

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rustdoc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
9393
interactivity. For information on how to write this form of test,
9494
see [`tests/rustdoc-gui/README.md`][rustdoc-gui-readme]
9595
as well as [the description of the `.goml` format][goml-script]
96-
* Additionally, JavaScript type annotations are written using [TypeScript-flavored JSDoc]
97-
comments and an external d.ts file. The code itself is plain, valid JavaScript; we only
98-
use tsc as a linter.
99-
* The tests on the structure of rustdoc HTML output are located in `tests/rustdoc`,
96+
* Tests on the structure of rustdoc HTML output are located in `tests/rustdoc`,
10097
where they're handled by the test runner of bootstrap and
10198
the supplementary script `src/etc/htmldocck.py`.
10299
[These tests have several extra directives available to them](./rustdoc-internals/rustdoc-test-suite.md).
100+
* Additionally, JavaScript type annotations are written using [TypeScript-flavored JSDoc]
101+
comments and an external d.ts file. The code itself is plain, valid JavaScript; we only
102+
use tsc as a linter.
103103

104104
[TypeScript-flavored JSDoc]: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
105105
[rustdoc-gui-readme]: https://github.com/rust-lang/rust/blob/master/tests/rustdoc-gui/README.md

0 commit comments

Comments
 (0)