diff options
| author | dxsullivan <193140725+dxsullivan@users.noreply.github.com> | 2024-12-29 21:51:30 +0800 |
|---|---|---|
| committer | dxsullivan <193140725+dxsullivan@users.noreply.github.com> | 2024-12-29 21:51:30 +0800 |
| commit | 0ebdc0c431789f10844fe548e111e48f643bc0be (patch) | |
| tree | 65e811ced067a277ae7dcd5b2d882d686642eb18 /src/doc/rustdoc | |
| parent | e7738afb705516425da70b01eb11aa3b38dae826 (diff) | |
| download | rust-0ebdc0c431789f10844fe548e111e48f643bc0be.tar.gz rust-0ebdc0c431789f10844fe548e111e48f643bc0be.zip | |
docs: fix typos
Diffstat (limited to 'src/doc/rustdoc')
| -rw-r--r-- | src/doc/rustdoc/src/write-documentation/documentation-tests.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/write-documentation/documentation-tests.md b/src/doc/rustdoc/src/write-documentation/documentation-tests.md index e02c26bd42b..b921f677857 100644 --- a/src/doc/rustdoc/src/write-documentation/documentation-tests.md +++ b/src/doc/rustdoc/src/write-documentation/documentation-tests.md @@ -412,7 +412,7 @@ In some cases, doctests cannot be merged. For example, if you have: ``` The problem with this code is that, if you change any other doctests, it'll likely break when -runing `rustdoc --test`, making it tricky to maintain. +running `rustdoc --test`, making it tricky to maintain. This is where the `standalone_crate` attribute comes in: it tells `rustdoc` that a doctest should not be merged with the others. So the previous code should use it: |
