restore a few unneeded breaking changes

This commit is contained in:
Evan Almloff committed 2023-08-08 13:37:29 -07:00
1 parent 14c852010b
commit 4ee4cf23d3
6 files changed
+219 -6

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ impl<'src> ScopeState {
///
/// assert_eq!(base.parent(), None);
/// ```
pub fn parent_id(&self) -> Option<ScopeId> {
pub fn parent(&self) -> Option<ScopeId> {
// safety: the pointer to our parent is *always* valid thanks to the bump arena
self.context().parent_id()
}