Skip to content

Commit f78592f

Browse files
committed
Change FnAbi::args to a boxed slice.
1 parent 93191f6 commit f78592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl<'gcc, 'tcx> FnAbiGccExt<'gcc, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
140140
}
141141
};
142142

143-
for arg in &self.args {
143+
for arg in self.args.iter() {
144144
// add padding
145145
if let Some(ty) = arg.pad {
146146
argument_tys.push(ty.gcc_type(cx));

0 commit comments

Comments
 (0)