Skip to content

Commit 272a51b

Browse files
committed
Update doc.
1 parent 0e8587d commit 272a51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/mir/traversal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ pub fn reverse_postorder<'a, 'tcx>(
293293
/// reachable.
294294
///
295295
/// Such a traversal is mostly useful because it lets us skip lowering the `false` side
296-
/// of `if <T as Trait>::CONST`, as well as [`ConstValue::RuntimeChecks`].
296+
/// of `if <T as Trait>::CONST`, as well as [`Operand::RuntimeChecks`].
297297
///
298-
/// [`ConstValue::RuntimeChecks`]: rustc_middle::mir::ConstValue::RuntimeChecks
298+
/// [`Operand::RuntimeChecks`]: rustc_middle::mir::Operand::RuntimeChecks
299299
pub fn mono_reachable<'a, 'tcx>(
300300
body: &'a Body<'tcx>,
301301
tcx: TyCtxt<'tcx>,

0 commit comments

Comments
 (0)