Skip to content

Commit

Permalink
do not use doc comments inside functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 30, 2017
1 parent 29ed317 commit 6641415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/transform/add_validation.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 6641415

Please sign in to comment.