]> git.lizzy.rs Git - rust.git/commitdiff
No doc comments on expressions
authoroli <github35764891676564198441@oli-obk.de>
Sat, 26 Dec 2020 15:10:06 +0000 (15:10 +0000)
committeroli <github35764891676564198441@oli-obk.de>
Mon, 4 Jan 2021 21:40:38 +0000 (21:40 +0000)
compiler/rustc_mir/src/transform/mod.rs

index a9bc11502bb90b974c6e5c36590ae139f3fb0ecb..717479b999076c1d5c16e610608999da80ce78cd 100644 (file)
@@ -542,9 +542,9 @@ fn inner_optimized_mir(tcx: TyCtxt<'_>, did: LocalDefId) -> Body<'_> {
     }
 
     match tcx.hir().body_const_context(did) {
-        /// Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
-        /// which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
-        /// computes and caches its result.
+        // Run the `mir_for_ctfe` query, which depends on `mir_drops_elaborated_and_const_checked`
+        // which we are going to steal below. Thus we need to run `mir_for_ctfe` first, so it
+        // computes and caches its result.
         Some(hir::ConstContext::ConstFn) => tcx.ensure().mir_for_ctfe(did),
         None => {}
         Some(other) => panic!("do not use `optimized_mir` for constants: {:?}", other),