Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 31, 2017
1 parent 09cbe58 commit 26ca0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_mir/transform/add_validation.rs
Expand Up @@ -163,8 +163,8 @@ impl MirPass for AddValidation {
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
Expand Down

0 comments on commit 26ca0d1

Please sign in to comment.