[PATCH] docs: add command line to rust-analyzer section.

Guillaume Plourde posted 1 patch 2 years, 4 months ago
Documentation/rust/quick-start.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[PATCH] docs: add command line to rust-analyzer section.
Posted by Guillaume Plourde 2 years, 4 months ago
Add command line to rust-analyzer section for convenience purposes.

Signed-off-by: Guillaume Plourde <gplourde@protonmail.com>
---
 Documentation/rust/quick-start.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
index 4bd32ce0f..169053e51 100644
--- a/Documentation/rust/quick-start.rst
+++ b/Documentation/rust/quick-start.rst
@@ -183,7 +183,9 @@ be used with many editors to enable syntax highlighting, completion, go to
 definition, and other features.
 
 ``rust-analyzer`` needs a configuration file, ``rust-project.json``, which
-can be generated by the ``rust-analyzer`` Make target.
+can be generated by the ``rust-analyzer`` Make target::
+
+        make LLVM=1 rust-analyzer
 
 
 Configuration
-- 
2.41.0