From 2a1efca2f332055ff1a68164040afbb9e394edd0 Mon Sep 17 00:00:00 2001 From: Jake Worth Date: Tue, 15 Dec 2015 12:51:08 -0600 Subject: [PATCH] Fix typo --- src/librustc_trans/trans/adt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_trans/trans/adt.rs b/src/librustc_trans/trans/adt.rs index f6f1918fd07..c744ef32127 100644 --- a/src/librustc_trans/trans/adt.rs +++ b/src/librustc_trans/trans/adt.rs @@ -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);