Skip to content

Commit 1e3d1b6

Browse files
committed
No magic numbers
1 parent 3f20a5d commit 1e3d1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/allocation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ impl UndefMask {
683683
// fill in all the other blocks (much faster than one bit at a time)
684684
if new_state {
685685
for block in (blocka + 1) .. blockb {
686-
self.blocks[block] = 0xFFFF_FFFF_FFFF_FFFF;
686+
self.blocks[block] = u64::max_value();
687687
}
688688
} else {
689689
for block in (blocka + 1) .. blockb {

0 commit comments

Comments
 (0)