about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2020-03-11 13:57:54 +0100
committerGitHub <noreply@github.com>2020-03-11 13:57:54 +0100
commitec88ffa38cee51fa7290aa6c99d928ffe346ca6c (patch)
treecf9d2a2726045681ee07d3e8ed253d58b84dd2d4 /src
parentcdc730457e9030feaf8c4376a668a9ef61c7f189 (diff)
downloadrust-ec88ffa38cee51fa7290aa6c99d928ffe346ca6c.tar.gz
rust-ec88ffa38cee51fa7290aa6c99d928ffe346ca6c.zip
Comment nits
Co-Authored-By: Ralf Jung <post@ralfj.de>
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/operand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs
index 5d035bbeb27..07c0f76e03a 100644
--- a/src/librustc_mir/interpret/operand.rs
+++ b/src/librustc_mir/interpret/operand.rs
@@ -356,7 +356,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
     ) -> InterpResult<'tcx, OpTy<'tcx, M::PointerTag>> {
         let base = match op.try_as_mplace(self) {
             Ok(mplace) => {
-                // We can reuse the mplace field computation logic for indirect operands
+                // We can reuse the mplace field computation logic for indirect operands.
                 let field = self.mplace_field(mplace, field)?;
                 return Ok(field.into());
             }