about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-05-29 05:04:46 +0800
committerGitHub <noreply@github.com>2025-05-29 05:04:46 +0800
commitf3cca6a281a4b4232dc25334d95b19d3f8e750e0 (patch)
treea0eb1623e8378211ac6028269a42007632879fe2 /src/doc
parentc3dc77f4d1ba50fd408320fc77e73bd2c8b8663c (diff)
parent084e8d9db14c6d53aef6344f666ea7d731ead6cc (diff)
downloadrust-f3cca6a281a4b4232dc25334d95b19d3f8e750e0.tar.gz
rust-f3cca6a281a4b4232dc25334d95b19d3f8e750e0.zip
Merge pull request #2420 from rust-lang/aDotInTheVoid-patch-1
directives.md: Fix `//@ build_aux_docs` -> `//@ build-aux-docs`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/directives.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md
index dae659e6317..8a862417b0d 100644
--- a/src/doc/rustc-dev-guide/src/tests/directives.md
+++ b/src/doc/rustc-dev-guide/src/tests/directives.md
@@ -59,7 +59,7 @@ not be exhaustive. Directives can generally be found by browsing the
 | `aux-crate`           | Like `aux-build` but makes available as extern prelude                                                | All except `run-make` | `<extern_prelude_name>=<path/to/aux/file.rs>` |
 | `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps`         | Path to codegen backend file                  |
 | `proc-macro`          | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm].                | All except `run-make` | Path to auxiliary proc-macro `.rs` file       |
-| `build_aux_docs`      | Build docs for auxiliaries as well                                                                    | All except `run-make` | N/A                                           |
+| `build-aux-docs`      | Build docs for auxiliaries as well                                                                    | All except `run-make` | N/A                                           |
 
 [^pm]: please see the Auxiliary proc-macro section in the
     [compiletest](./compiletest.md) chapter for specifics.