diff options
| author | Ralf Jung <post@ralfj.de> | 2017-07-31 16:15:37 -0700 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2017-07-31 16:15:37 -0700 |
| commit | 26ca0d1b3ac8046662e1a6d976c9fdfba2c118dc (patch) | |
| tree | 0de066e67497e462ed702e1bed3cceed0db5868f | |
| parent | 09cbe588c3a73b06ce800732ce122d8357c1d0cc (diff) | |
| download | rust-26ca0d1b3ac8046662e1a6d976c9fdfba2c118dc.tar.gz rust-26ca0d1b3ac8046662e1a6d976c9fdfba2c118dc.zip | |
tidy
| -rw-r--r-- | src/librustc_mir/transform/add_validation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/transform/add_validation.rs b/src/librustc_mir/transform/add_validation.rs index 1329378fbef..86a86f4934c 100644 --- a/src/librustc_mir/transform/add_validation.rs +++ b/src/librustc_mir/transform/add_validation.rs @@ -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 |
