From 004fab77c2dcbd11d3f8bf48dbb173bf53c21f89 Mon Sep 17 00:00:00 2001 From: yea8er Date: Wed, 4 Feb 2026 11:50:41 +0300 Subject: [PATCH] docs: additional improvements --- docs/book/src/rust_analyzer_binary.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/book/src/rust_analyzer_binary.md b/docs/book/src/rust_analyzer_binary.md index 85fa4119d6..14f9b3a586 100644 --- a/docs/book/src/rust_analyzer_binary.md +++ b/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`