From 5a32d93ca53f0d252e1eac7d4be2c8a455c84240 Mon Sep 17 00:00:00 2001 From: funkill2 Date: Fri, 14 Jun 2024 04:00:15 +0300 Subject: [PATCH] update original --- rustbook-en/ADMIN_TASKS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustbook-en/ADMIN_TASKS.md b/rustbook-en/ADMIN_TASKS.md index 2a92eefd2..7e9ba2cc0 100644 --- a/rustbook-en/ADMIN_TASKS.md +++ b/rustbook-en/ADMIN_TASKS.md @@ -68,7 +68,7 @@ extracted into a file. To do that: - If you only want to show part of the code in the file, use anchor comments (`// ANCHOR: some_tag` and `// ANCHOR_END: some_tag`) to mark the parts of the file you want to show. -- For Rust code, use the `{{#rustdoc_include [fileame:some_tag]}}` directive +- For Rust code, use the `{{#rustdoc_include [filename:some_tag]}}` directive within the code blocks in the text. The `rustdoc_include` directive gives the code that doesn't get displayed to `rustdoc` for `mdbook test` purposes. - For anything else, use the `{{#include [filename:some_tag]}}` directive.