diff options
| author | cui fliter <imcusg@gmail.com> | 2023-09-28 16:15:41 +0800 |
|---|---|---|
| committer | cui fliter <imcusg@gmail.com> | 2023-10-04 08:01:11 +0800 |
| commit | f44d116e1f9a513b8730c1629bf17592bcd9784a (patch) | |
| tree | a27e0d5957d1cd330d28382ee3f2f92ee2aca54d /compiler/rustc_codegen_cranelift/src | |
| parent | aeaa5c30e5c9041264a2e8314b68ad84c2dc3169 (diff) | |
| download | rust-f44d116e1f9a513b8730c1629bf17592bcd9784a.tar.gz rust-f44d116e1f9a513b8730c1629bf17592bcd9784a.zip | |
Fix misuses of a vs an
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/abi/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/mod.rs b/compiler/rustc_codegen_cranelift/src/abi/mod.rs index 5d775b9b532..5c7d7b20c5d 100644 --- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs +++ b/compiler/rustc_codegen_cranelift/src/abi/mod.rs @@ -30,7 +30,7 @@ fn clif_sig_from_fn_abi<'tcx>( let inputs = fn_abi.args.iter().flat_map(|arg_abi| arg_abi.get_abi_param(tcx).into_iter()); let (return_ptr, returns) = fn_abi.ret.get_abi_return(tcx); - // Sometimes the first param is an pointer to the place where the return value needs to be stored. + // Sometimes the first param is a pointer to the place where the return value needs to be stored. let params: Vec<_> = return_ptr.into_iter().chain(inputs).collect(); Signature { params, returns, call_conv } |
