about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2025-03-28 08:36:16 +0100
committerMara Bos <m-ou.se@m-ou.se>2025-03-28 08:36:16 +0100
commitdeeac1c588d3487202490280ee64434ad3c45f0c (patch)
treeafbc931a5cbf3870e06ea5fb45c18d97a96ee11c
parent3a9a5770ef44401315e8c99b13b81b4c595fc82e (diff)
downloadrust-deeac1c588d3487202490280ee64434ad3c45f0c.tar.gz
rust-deeac1c588d3487202490280ee64434ad3c45f0c.zip
Remove outdated comment.
-rw-r--r--compiler/rustc_hir_analysis/src/check/region.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/region.rs b/compiler/rustc_hir_analysis/src/check/region.rs
index 9d99a3ea673..2528adb937b 100644
--- a/compiler/rustc_hir_analysis/src/check/region.rs
+++ b/compiler/rustc_hir_analysis/src/check/region.rs
@@ -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);