Skip to content

Commit 3af7989

Browse files
committed
No doc comments on expressions
1 parent a76dae4 commit 3af7989

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_mir/src/transform

1 file changed

+3
-3
lines changed

compiler/rustc_mir/src/transform/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ fn inner_optimized_mir(tcx: TyCtxt<'_>, did: LocalDefId) -> Body<'_> {
542542
}
543543

544544
match tcx.hir().body_const_context(did) {
545-
/// Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
546-
/// which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
547-
/// computes and caches its result.
545+
// Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
546+
// which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
547+
// computes and caches its result.
548548
Some(hir::ConstContext::ConstFn) => tcx.ensure().mir_for_ctfe(did),
549549
None => {}
550550
Some(other) => panic!("do not use `optimized_mir` for constants: {:?}", other),

0 commit comments

Comments
 (0)