Skip to content

Commit

Permalink
Rollup merge of rust-lang#30398 - jwworth:pull-request-1450205451, r=…
Browse files Browse the repository at this point in the history
…sanxiyn

This fixes a double word typo, 'the'.
  • Loading branch information
Manishearth committed Dec 18, 2015
2 parents c290296 + 2a1efca commit 7eb7bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_trans/trans/adt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7eb7bc2

Please sign in to comment.