Add some more comments on how TestKind works

This commit is contained in:
Matthew Jasper 2019-05-25 18:26:34 +01:00
parent a1d0266878
commit df3de7b4b3
3 changed files with 30 additions and 7 deletions

View file

@ -1196,8 +1196,8 @@ pub enum TerminatorKind<'tcx> {
FalseEdges {
/// The target normal control flow will take
real_target: BasicBlock,
/// A block control flow could conceptually take, but won't
/// in practice
/// A block control flow could conceptually jump to, but won't in
/// practice
imaginary_target: BasicBlock,
},
/// A terminator for blocks that only take one path in reality, but where we