From 6641415e8744e3f82f464eba270296536b1edaa1 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 30 Jul 2017 10:29:15 -0700 Subject: [PATCH] do not use doc comments inside functions --- src/librustc_mir/transform/add_validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/transform/add_validation.rs b/src/librustc_mir/transform/add_validation.rs index 70ef08cf2d18..ee472c616f65 100644 --- a/src/librustc_mir/transform/add_validation.rs +++ b/src/librustc_mir/transform/add_validation.rs @@ -91,7 +91,7 @@ impl MirPass for AddValidation { 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);