about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLunaphied <lunaphied@lunaphied.me>2024-06-16 15:25:42 -0600
committerLunaphied <lunaphied@lunaphied.me>2024-06-16 15:25:42 -0600
commit0257394d4cfa2c85c31bd54380893cf1e94b565c (patch)
treee842bf90c140e0b4620353c42f6e175e4659f4ad
parente0c1b2bf75c742af8a6637e25e9b5148de8c444a (diff)
downloadrust-0257394d4cfa2c85c31bd54380893cf1e94b565c.tar.gz
rust-0257394d4cfa2c85c31bd54380893cf1e94b565c.zip
docs: fix manual generation instructions
To generate all the requisite files, you need to run `cargo xtask codegen` not
`cargo test -p xtask`.
-rw-r--r--src/tools/rust-analyzer/docs/user/manual.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/docs/user/manual.adoc b/src/tools/rust-analyzer/docs/user/manual.adoc
index 8e6c53d0c5a..3bc739e934e 100644
--- a/src/tools/rust-analyzer/docs/user/manual.adoc
+++ b/src/tools/rust-analyzer/docs/user/manual.adoc
@@ -21,7 +21,7 @@ The LSP allows various code editors, like VS Code, Emacs or Vim, to implement se
 To improve this document, send a pull request: +
 https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/manual.adoc[https://github.com/rust-analyzer/.../manual.adoc]
 
-The manual is written in https://asciidoc.org[AsciiDoc] and includes some extra files which are generated from the source code. Run `cargo test` and `cargo test -p xtask` to create these and then `asciidoctor manual.adoc` to create an HTML copy.
+The manual is written in https://asciidoc.org[AsciiDoc] and includes some extra files which are generated from the source code. Run `cargo test` and `cargo xtask codegen` to create these and then `asciidoctor manual.adoc` to create an HTML copy.
 ====
 
 If you have questions about using rust-analyzer, please ask them in the https://users.rust-lang.org/c/ide/14["`IDEs and Editors`"] topic of Rust users forum.