]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/memory.rs
fix rustfmt fallout
[rust.git] / src / librustc_mir / interpret / memory.rs
index cb676821fd438ee407774a6e1eea3d34ed0d42cf..3386254c93b75a560dc19418078a5b179993ac47 100644 (file)
@@ -581,9 +581,9 @@ pub fn get_size_and_align(
                 Ok((layout.size, layout.align.abi))
             }
             Some(GlobalAlloc::Memory(alloc)) =>
-            // Need to duplicate the logic here, because the global allocations have
-            // different associated types than the interpreter-local ones.
             {
+                // Need to duplicate the logic here, because the global allocations have
+                // different associated types than the interpreter-local ones.
                 Ok((alloc.size, alloc.align))
             }
             Some(GlobalAlloc::Function(_)) => bug!("We already checked function pointers above"),