Skip to content

Commit

Permalink
No magic numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Mar 4, 2019
1 parent 3f20a5d commit 1e3d1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/mir/interpret/allocation.rs
Expand Up @@ -683,7 +683,7 @@ impl UndefMask {
// fill in all the other blocks (much faster than one bit at a time)
if new_state {
for block in (blocka + 1) .. blockb {
self.blocks[block] = 0xFFFF_FFFF_FFFF_FFFF;
self.blocks[block] = u64::max_value();
}
} else {
for block in (blocka + 1) .. blockb {
Expand Down

0 comments on commit 1e3d1b6

Please sign in to comment.