diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-22 14:43:15 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-22 14:43:15 +0000 |
commit | 2d003b6378edc84be42abe98c377ec0ec2bf4ae9 (patch) | |
tree | 513bb8b0a4ecb487dc1cf7be4bbc05c84ce9a975 /crates/ra_hir | |
parent | 9f616ed65a3cd3088a006ab9f116c2b9a2235cb6 (diff) | |
parent | 6c3ddcfa501060cff3a7f81c179f712ef072c808 (diff) |
Merge #2645
2645: Simplify r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 4cd28eb4e..bcfc0d03e 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -184,7 +184,7 @@ impl Module { | |||
184 | db.crate_def_map(self.id.krate)[self.id.local_id] | 184 | db.crate_def_map(self.id.krate)[self.id.local_id] |
185 | .scope | 185 | .scope |
186 | .entries() | 186 | .entries() |
187 | .map(|(name, res)| (name.clone(), res.def.into())) | 187 | .map(|(name, def)| (name.clone(), def.into())) |
188 | .collect() | 188 | .collect() |
189 | } | 189 | } |
190 | 190 | ||