aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_project_model/src/lib.rs')
-rw-r--r--crates/ra_project_model/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs
index 74b7efa9a..08e5c1c32 100644
--- a/crates/ra_project_model/src/lib.rs
+++ b/crates/ra_project_model/src/lib.rs
@@ -191,7 +191,7 @@ impl ProjectWorkspace {
191 } 191 }
192 } 192 }
193 193
194 let libstd = sysroot.std().and_then(|it| sysroot_crates.get(&it).map(|&it| it)); 194 let libstd = sysroot.std().and_then(|it| sysroot_crates.get(&it).copied());
195 195
196 let mut pkg_to_lib_crate = FxHashMap::default(); 196 let mut pkg_to_lib_crate = FxHashMap::default();
197 let mut pkg_crates = FxHashMap::default(); 197 let mut pkg_crates = FxHashMap::default();