Skip to content

Commit 8770de8

Browse files
committed
Remove leftover comment
1 parent aeb18d6 commit 8770de8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc/mir/interpret/allocation.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ impl<'tcx, Tag: Copy, Extra> Allocation<Tag, Extra> {
120120
ptr: Pointer<Tag>,
121121
required_align: Align
122122
) -> EvalResult<'tcx> {
123-
// Check non-NULL/Undef, extract offset
124-
125123
// check this is not NULL -- which we can ensure only if this is in-bounds
126124
let size = Size::from_bytes(self.bytes.len() as u64);
127125
if ptr.offset > size {

0 commit comments

Comments
 (0)