mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Rename a few crate_def_map
s to def_map
These could all be block `DefMap`s instead of crate-level `DefMap`s
This commit is contained in:
parent
c44575b485
commit
6750c11df3
4 changed files with 19 additions and 19 deletions
|
@ -74,8 +74,8 @@ impl ChildBySource for ImplId {
|
|||
|
||||
impl ChildBySource for ModuleId {
|
||||
fn child_by_source(&self, db: &dyn DefDatabase) -> DynMap {
|
||||
let crate_def_map = self.def_map(db);
|
||||
let module_data = &crate_def_map[self.local_id];
|
||||
let def_map = self.def_map(db);
|
||||
let module_data = &def_map[self.local_id];
|
||||
module_data.scope.child_by_source(db)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue