Skip to content

Commit 2a1efca

Browse files
committed
Fix typo
1 parent 9e63cec commit 2a1efca

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_trans/trans

1 file changed

+1
-1
lines changed

src/librustc_trans/trans/adt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ pub fn struct_field_ptr<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, st: &Struct<'tcx>, v
11651165

11661166
let meta = val.meta;
11671167

1168-
// Calculate the unaligned offset of the the unsized field.
1168+
// Calculate the unaligned offset of the unsized field.
11691169
let mut offset = 0;
11701170
for &ty in &st.fields[0..ix] {
11711171
let llty = type_of::sizing_type_of(ccx, ty);

0 commit comments

Comments
 (0)