mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Simplify
This commit is contained in:
parent
40cbeb5b3d
commit
9d3e616f82
6 changed files with 33 additions and 29 deletions
|
@ -189,6 +189,7 @@ fn discover_sysroot_src_dir(sysroot_path: &AbsPathBuf) -> Option<AbsPathBuf> {
|
|||
|
||||
get_rust_src(sysroot_path)
|
||||
}
|
||||
|
||||
fn discover_sysroot_src_dir_or_add_component(
|
||||
sysroot_path: &AbsPathBuf,
|
||||
current_dir: &AbsPath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue