about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2025-07-15 05:07:09 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2025-07-15 05:07:09 +0000
commitf7da0212af0b00b77b43e2e8c62607df43946dcf (patch)
treedc3ad3a58d9b6d278b9270804c50f9da6c11acff /src/doc/rustc-dev-guide
parenta9a5b33c2d7d5d1ada0efd23f97cc1f3b774dbda (diff)
parent7f2065a4bae1faed5bab928c670964eafbf43b55 (diff)
downloadrust-f7da0212af0b00b77b43e2e8c62607df43946dcf.tar.gz
rust-f7da0212af0b00b77b43e2e8c62607df43946dcf.zip
Merge from rustc
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md b/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md
index b05318ce9e6..4f44cf1701c 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-test-suite.md
@@ -55,6 +55,9 @@ Similar to shell commands,
 directives can extend across multiple lines if their last char is `\`.
 In this case, the start of the next line should be `//`, with no `@`.
 
+Similar to compiletest directives, besides a space you can also use a colon `:` to separate
+the directive name and the arguments, however a space is preferred for HtmlDocCk directives.
+
 Use the special string `{{channel}}` in XPaths, `PATTERN` arguments and [snapshot files](#snapshot)
 if you'd like to refer to the URL `https://doc.rust-lang.org/CHANNEL` where `CHANNEL` refers to the
 current release channel (e.g, `stable` or `nightly`).