]> git.lizzy.rs Git - rust.git/commitdiff
tidy
authorRalf Jung <post@ralfj.de>
Mon, 31 Jul 2017 23:15:37 +0000 (16:15 -0700)
committerRalf Jung <post@ralfj.de>
Mon, 31 Jul 2017 23:15:37 +0000 (16:15 -0700)
src/librustc_mir/transform/add_validation.rs

index 1329378fbef03a5b58f558ee2f6724c1a028024a..86a86f4934caa0c683fd40b934d695af3a3cba55 100644 (file)
@@ -163,8 +163,8 @@ fn run_pass<'a, 'tcx>(&self,
             ValidationOperand { lval, ty, re, mutbl }
         };
 
-        // Emit an Acquire at the beginning of the given block.  If we are in restricted emission mode
-        // (mir_emit_validate=1), also emit a Release immediately after the Acquire.
+        // Emit an Acquire at the beginning of the given block.  If we are in restricted emission
+        // mode (mir_emit_validate=1), also emit a Release immediately after the Acquire.
         let emit_acquire = |block: &mut BasicBlockData<'tcx>, source_info, operands: Vec<_>| {
             if operands.len() == 0 {
                 return; // Nothing to do