This commit is contained in:
Jake Worth 2015-12-15 12:51:08 -06:00
parent 9e63cecb10
commit 2a1efca2f3

View file

@ -1165,7 +1165,7 @@ pub fn struct_field_ptr<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, st: &Struct<'tcx>, v
let meta = val.meta;
// Calculate the unaligned offset of the the unsized field.
// Calculate the unaligned offset of the unsized field.
let mut offset = 0;
for &ty in &st.fields[0..ix] {
let llty = type_of::sizing_type_of(ccx, ty);