diff options
| author | Lucas Kent <rubickent@gmail.com> | 2021-12-17 18:36:18 +1100 |
|---|---|---|
| committer | Lucas Kent <rubickent@gmail.com> | 2022-01-09 14:09:25 +1100 |
| commit | 08829853d3c69f68a5a09fb4bcc53ca87d373a78 (patch) | |
| tree | 338b04e9ccd5b0aabb6f128f23704013c3d11508 /compiler/rustc_codegen_llvm | |
| parent | 23ce5fc4655ed546f74a85fc8836e95bec0c64fd (diff) | |
| download | rust-08829853d3c69f68a5a09fb4bcc53ca87d373a78.tar.gz rust-08829853d3c69f68a5a09fb4bcc53ca87d373a78.zip | |
eplace usages of vec![].into_iter with [].into_iter
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index 07d49b6e729..1e795efa2e1 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -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, |
