Fix rust-src installation command in FAQ

Correct the command to install rust-src in the FAQ.
This commit is contained in:
Edwin Cheng 2026-01-26 16:45:48 +08:00 committed by GitHub
parent cf38ac29fb
commit 6be960c79d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
rust-analyzer fails to resolve `None`, and thinks you are binding to a variable
named `None`. That's usually a sign of a corrupted sysroot. Try removing and re-installing
it: `rustup component remove rust-src` then `rustup component install rust-src`.
it: `rustup component remove rust-src` then `rustup component add rust-src`.
### Rust Analyzer and Cargo compete over the build lock