aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-10-09 15:17:05 +0100
committerGitHub <[email protected]>2020-10-09 15:17:05 +0100
commit55ecfbb99b105a6c1be1e3889a61e8bba376f524 (patch)
tree63a31ca57b77703d42f95a2c20deee10eda5580d /crates/project_model/src
parent7d0772e79630924149a9dca7376ed2ab9d2c0dce (diff)
Update crates/project_model/src/sysroot.rs
Co-authored-by: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'crates/project_model/src')
-rw-r--r--crates/project_model/src/sysroot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/project_model/src/sysroot.rs b/crates/project_model/src/sysroot.rs
index fed9ce789..e529e07b0 100644
--- a/crates/project_model/src/sysroot.rs
+++ b/crates/project_model/src/sysroot.rs
@@ -91,7 +91,7 @@ impl Sysroot {
91 91
92 if sysroot.by_name("core").is_none() { 92 if sysroot.by_name("core").is_none() {
93 let var_note = if env::var_os("RUST_SRC_PATH").is_some() { 93 let var_note = if env::var_os("RUST_SRC_PATH").is_some() {
94 " (`RUST_SRC_PATH` might be set incorrectly)" 94 " (`RUST_SRC_PATH` might be incorrect, try unsetting it)"
95 } else { 95 } else {
96 "" 96 ""
97 }; 97 };