coverage: Remove confusing comments from `CoverageKind` · rust-lang/rust@c81be68

File tree

1 file changed

lines changed

  • compiler/rustc_middle/src/mir

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -129,17 +129,11 @@ pub enum CoverageKind {

129129

/// Marks the point in MIR control flow represented by a evaluated condition.

130130

///

131131

/// This is eventually lowered to `llvm.instrprof.mcdc.condbitmap.update` in LLVM IR.

132-

///

133-

/// If this statement does not survive MIR optimizations, the condition would never be

134-

/// taken as evaluated.

135132

CondBitmapUpdate { id: ConditionId, value: bool, decision_depth: u16 },

136133
137134

/// Marks the point in MIR control flow represented by a evaluated decision.

138135

///

139136

/// This is eventually lowered to `llvm.instrprof.mcdc.tvbitmap.update` in LLVM IR.

140-

///

141-

/// If this statement does not survive MIR optimizations, the decision would never be

142-

/// taken as evaluated.

143137

TestVectorBitmapUpdate { bitmap_idx: u32, decision_depth: u16 },

144138

}

145139