diff options
author | MikuroXina <ryosukadnak@gmail.com> | 2021-10-25 22:50:27 +0900 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-10-27 19:22:15 +0200 |
commit | f21f6f322f92b3c3739ff97ab2bcb98030addebf (patch) | |
tree | f68ab61e0b60d0ada9ca3c5bc0c00b2a15405dd0 /src | |
parent | 74115f4f01b5a97830075244bcb7351e5c468ccd (diff) |
Bring back comment
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/analysis/has_destructor.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/analysis/has_destructor.rs b/src/ir/analysis/has_destructor.rs index fe95b516..74fd73d1 100644 --- a/src/ir/analysis/has_destructor.rs +++ b/src/ir/analysis/has_destructor.rs @@ -41,6 +41,8 @@ pub struct HasDestructorAnalysis<'ctx> { impl<'ctx> HasDestructorAnalysis<'ctx> { fn consider_edge(kind: EdgeKind) -> bool { + // These are the only edges that can affect whether a type has a + // destructor or not. matches!( kind, EdgeKind::TypeReference | |