Change Rust Analyzer->rust-analyzer to match style

This commit is contained in:
Jan Tache 2022-02-21 23:01:05 -08:00
parent 08461cc8f0
commit 90916b726e

View file

@ -42,11 +42,11 @@ $ rustup component add rust-src
=== Toolchain === Toolchain
Rust Analyzer only officially supports using the latest stable toolchain. Only the latest stable standard library source is officially supported for use with rust-analyzer.
If you are using an older toolchain or have an override set, Rust Analyzer may fail to understand the Rust source. If you are using an older toolchain or have an override set, rust-analyzer may fail to understand the Rust source.
You will either need to update your toolchain or use an older version of Rust Analyzer that is compatible with your toolchain. You will either need to update your toolchain or use an older version of rust-analyzer that is compatible with your toolchain.
If you are using an override in your project, you can still force Rust Analyzer to use the stable toolchain via the environment variable `RUSTUP_TOOLCHAIN`. If you are using an override in your project, you can still force rust-analyzer to use the stable toolchain via the environment variable `RUSTUP_TOOLCHAIN`.
For example, with VS Code or coc-rust-analyzer: For example, with VS Code or coc-rust-analyzer:
[source,json] [source,json]