Workspace without sysroot could be possible

This commit is contained in:
Ddystopia 2023-05-01 10:16:36 +02:00
parent 7e19d99d4f
commit 2025f17ac3
No known key found for this signature in database
GPG key ID: 109875EC11535212
2 changed files with 9 additions and 11 deletions

View file

@ -1546,7 +1546,7 @@ pub(crate) fn handle_open_docs(
});
let (cargo, sysroot) = match ws_and_sysroot {
Some((ws, Some(sysroot))) => (Some(ws), Some(sysroot)),
Some((ws, sysroot)) => (Some(ws), sysroot),
_ => (None, None),
};