make entry key return scopeid
This commit is contained in:
1 parent
bdb63d18f3
commit
82e2175500
2 files changed
+3
-3
No files matched your search
@@ -129,8 +129,8 @@ pub(crate) struct ScopeSlabEntry<'a> {
|
||||
}
|
||||
|
||||
impl<'a> ScopeSlabEntry<'a> {
|
||||
pub(crate) fn key(&self) -> usize {
|
||||
self.entry.key()
|
||||
pub(crate) fn key(&self) -> ScopeId {
|
||||
ScopeId(self.entry.key())
|
||||
}
|
||||
|
||||
pub(crate) fn insert(self, scope: ScopeState) -> &'a ScopeState {
|
||||
|
||||
Reference in new issue
Block a user