Miscellaneous inlining improvements
This commit is contained in:
parent
c4f186f0ea
commit
c1f6495b8e
17 changed files with 45 additions and 0 deletions
|
@ -305,6 +305,7 @@ impl Definitions {
|
|||
self.table.index_to_key.len()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn def_key(&self, id: LocalDefId) -> DefKey {
|
||||
self.table.def_key(id.local_def_index)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue