Unnamed repository; edit this file 'description' to name the repository.
docs: additional improvements
| -rw-r--r-- | docs/book/src/rust_analyzer_binary.md | 6 |
1 files 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` |