Skip to content

Commit c0b09f1

Browse files
committed
doc (book)[11/14]: "Cargo Guide"/"Tests": link terms to glossary
The following term(s) are linked to their Glossary entries: - package
1 parent 05ee4c6 commit c0b09f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/src/guide/tests.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Tests in your `src` files should be unit tests, and tests in `tests/` should be
66
integration-style tests. As such, you’ll need to import your crates into
77
the files in `tests`.
88

9-
Here's an example of running `cargo test` in our package, which currently has
10-
no tests:
9+
Here's an example of running `cargo test` in our [package][def-package], which
10+
currently has no tests:
1111

1212
```console
1313
$ cargo test
@@ -36,4 +36,5 @@ examples you’ve included and will also test the examples in your
3636
documentation. Please see the [testing guide][testing] in the Rust
3737
documentation for more details.
3838

39+
[def-package]: ../appendix/glossary.md#package '"package" (glossary entry)'
3940
[testing]: ../../book/ch11-00-testing.html

0 commit comments

Comments
 (0)