Skip to content

Commit 10102d1

Browse files
RalfJungoli-obk
andcommitted
comment nit
Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
1 parent 9b8e82a commit 10102d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> Memory<'a, 'mir, 'tcx, M> {
659659
self.check_align(src, src_align)?;
660660
self.check_align(dest, dest_align)?;
661661
if size.bytes() == 0 {
662-
// Nothing to do for ZST, other than checking alignment and non-NULLness.
662+
// Nothing to do for ZST, other than checking alignment and non-NULLness which already happened.
663663
return Ok(());
664664
}
665665
let src = src.to_ptr()?;

0 commit comments

Comments
 (0)