Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/book/src/installation.md')
-rw-r--r--docs/book/src/installation.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/book/src/installation.md b/docs/book/src/installation.md
index 3a4c0cf227..cc636c31e6 100644
--- a/docs/book/src/installation.md
+++ b/docs/book/src/installation.md
@@ -13,7 +13,9 @@ editor](./other_editors.html).
rust-analyzer will attempt to install the standard library source code
automatically. You can also install it manually with `rustup`.
- $ rustup component add rust-src
+```bash
+rustup component add rust-src
+```
Only the latest stable standard library source is officially supported
for use with rust-analyzer. If you are using an older toolchain or have