about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-05-17 10:26:04 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-05-17 10:26:04 +0000
commitae318e34449c0b8d92f4067d68fda604bac5da82 (patch)
tree330913b0f27e4d29a0755eff1d8b4249098340db /compiler
parent6f271dc49ce729a76eb702fcb6d15960aaf8c297 (diff)
downloadrust-ae318e34449c0b8d92f4067d68fda604bac5da82.tar.gz
rust-ae318e34449c0b8d92f4067d68fda604bac5da82.zip
Remove outdated comment.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_data_structures/src/graph/dominators/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/graph/dominators/mod.rs b/compiler/rustc_data_structures/src/graph/dominators/mod.rs
index 5d6a1de1d21..5c5c803cc06 100644
--- a/compiler/rustc_data_structures/src/graph/dominators/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/dominators/mod.rs
@@ -315,8 +315,6 @@ pub struct DominatorTree<N: Idx> {
     // Even though we track only the immediate dominator of each node, it's
     // possible to get its full list of dominators by looking up the dominator
     // of each dominator. (See the `impl Iterator for Iter` definition).
-    //
-    // Note: immediate_dominators[root] is Some(root)!
     immediate_dominators: IndexVec<N, Option<N>>,
 }