Skip to content

Commit 1abf405

Browse files
committed
Workspace without sysroot could be possible
1 parent c5710d3 commit 1abf405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/handlers/request.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ pub(crate) fn handle_open_docs(
15451545
});
15461546

15471547
let (cargo, sysroot) = match ws_and_sysroot {
1548-
Some((ws, Some(sysroot))) => (Some(ws), Some(sysroot)),
1548+
Some((ws, sysroot)) => (Some(ws), sysroot),
15491549
_ => (None, None),
15501550
};
15511551

0 commit comments

Comments
 (0)