Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit b6c5244

Browse files
authored
Merge pull request #762 from oli-obk/fix
Rustup
2 parents b07ff40 + 5345d4a commit b6c5244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fn run_cargo(
165165

166166
if rls_config.workspace_mode {
167167
for package in &packages {
168-
if ws.members().find(|x| x.name() == package).is_none() {
168+
if ws.members().find(|x| *x.name() == *package).is_none() {
169169
warn!("cargo - couldn't find member package `{}` specified in `analyze_package` configuration", package);
170170
}
171171
}

0 commit comments

Comments
 (0)