Skip to content

Commit 0fac350

Browse files
committed
yay for NLL
1 parent af54eb2 commit 0fac350

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/librustc/mir/interpret/allocation.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,9 @@ impl<'tcx, Tag: Copy, Extra: AllocationExtra<Tag>> Allocation<Tag, Extra> {
314314
},
315315
};
316316

317-
{
318-
let endian = cx.data_layout().endian;
319-
let dst = self.get_bytes_mut(cx, ptr, type_size)?;
320-
write_target_uint(endian, dst, bytes).unwrap();
321-
}
317+
let endian = cx.data_layout().endian;
318+
let dst = self.get_bytes_mut(cx, ptr, type_size)?;
319+
write_target_uint(endian, dst, bytes).unwrap();
322320

323321
// See if we have to also write a relocation
324322
match val {

0 commit comments

Comments
 (0)