]> git.lizzy.rs Git - rust.git/commitdiff
do not use doc comments inside functions
authorRalf Jung <post@ralfj.de>
Sun, 30 Jul 2017 17:29:15 +0000 (10:29 -0700)
committerRalf Jung <post@ralfj.de>
Sun, 30 Jul 2017 17:29:15 +0000 (10:29 -0700)
src/librustc_mir/transform/add_validation.rs

index 70ef08cf2d1811b630a6894c82956bbe44689100..ee472c616f659ce0bae0827f8b245e8aa7b34da5 100644 (file)
@@ -91,7 +91,7 @@ fn run_pass<'a, 'tcx>(&self,
 
         let local_decls = mir.local_decls.clone(); // FIXME: Find a way to get rid of this clone.
 
-        /// Convert an lvalue to a validation operand.
+        // Convert an lvalue to a validation operand.
         let lval_to_operand = |lval: Lvalue<'tcx>| -> ValidationOperand<'tcx, Lvalue<'tcx>> {
             let (re, mutbl) = lval_context(&lval, &local_decls, tcx);
             let ty = lval.ty(&local_decls, tcx).to_ty(tcx);