eplace usages of vec![].into_iter with [].into_iter
This commit is contained in:
parent
23ce5fc465
commit
08829853d3
36 changed files with 116 additions and 122 deletions
|
@ -791,7 +791,7 @@ fn get_rust_try_fn<'ll, 'tcx>(
|
|||
)));
|
||||
// `unsafe fn(unsafe fn(*mut i8) -> (), *mut i8, unsafe fn(*mut i8, *mut i8) -> ()) -> i32`
|
||||
let rust_fn_sig = ty::Binder::dummy(cx.tcx.mk_fn_sig(
|
||||
vec![try_fn_ty, i8p, catch_fn_ty].into_iter(),
|
||||
[try_fn_ty, i8p, catch_fn_ty].into_iter(),
|
||||
tcx.types.i32,
|
||||
false,
|
||||
hir::Unsafety::Unsafe,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue