]> git.lizzy.rs Git - rust.git/commitdiff
Comment nits
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Wed, 11 Mar 2020 12:57:54 +0000 (13:57 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2020 12:57:54 +0000 (13:57 +0100)
Co-Authored-By: Ralf Jung <post@ralfj.de>
src/librustc_mir/interpret/operand.rs

index 5d035bbeb27c7bac81891fdbb4e087afbe3a8bcc..07c0f76e03a7e03ecfdb00e543ccbda83ca6a414 100644 (file)
@@ -356,7 +356,7 @@ pub fn operand_field(
     ) -> 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());
             }