From 9ecd6268f5fde5f5ba900dec212bf1e8f601fef6 Mon Sep 17 00:00:00 2001 From: yea8er Date: Wed, 4 Feb 2026 11:50:41 +0300 Subject: [PATCH] docs: additional improvements --- .../rust-analyzer/docs/book/src/rust_analyzer_binary.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tools/rust-analyzer/docs/book/src/rust_analyzer_binary.md b/src/tools/rust-analyzer/docs/book/src/rust_analyzer_binary.md index 85fa4119d623..14f9b3a58664 100644 --- a/src/tools/rust-analyzer/docs/book/src/rust_analyzer_binary.md +++ b/src/tools/rust-analyzer/docs/book/src/rust_analyzer_binary.md @@ -26,8 +26,10 @@ or `/usr/local/bin` will work just as well. Alternatively, you can install it from source using the command below. You’ll need the latest stable version of the Rust toolchain. - git clone https://github.com/rust-lang/rust-analyzer.git && cd rust-analyzer - cargo xtask install --server +```bash +git clone https://github.com/rust-lang/rust-analyzer.git && cd rust-analyzer +cargo xtask install --server +``` If your editor can’t find the binary even though the binary is on your `$PATH`, the likely explanation is that it doesn’t see the same `$PATH`