Remove outdated comment.

This commit is contained in:
Mara Bos 2025-03-28 08:36:16 +01:00
parent 3a9a5770ef
commit deeac1c588

View file

@ -774,7 +774,6 @@ fn resolve_local<'tcx>(
impl<'tcx> ScopeResolutionVisitor<'tcx> {
/// Records the current parent (if any) as the parent of `child_scope`.
/// Returns the depth of `child_scope`.
fn record_child_scope(&mut self, child_scope: Scope) {
let parent = self.cx.parent;
self.scope_tree.record_scope_parent(child_scope, parent);