Skip to content

Commit f21f6f3

Browse files
MikuroXinaemilio
authored andcommitted
Bring back comment
1 parent 74115f4 commit f21f6f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ir/analysis/has_destructor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ pub struct HasDestructorAnalysis<'ctx> {
4141

4242
impl<'ctx> HasDestructorAnalysis<'ctx> {
4343
fn consider_edge(kind: EdgeKind) -> bool {
44+
// These are the only edges that can affect whether a type has a
45+
// destructor or not.
4446
matches!(
4547
kind,
4648
EdgeKind::TypeReference |

0 commit comments

Comments
 (0)