Rollup merge of #116223 - catandcoder:master, r=cjgillot
Fix misuses of a vs an Fixes the misuse of "a" vs "an", according to English grammatical expectations and using https://www.a-or-an.com/
This commit is contained in:
commit
ed900871cf
@ -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 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);
|
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();
|
let params: Vec<_> = return_ptr.into_iter().chain(inputs).collect();
|
||||||
|
|
||||||
Signature { params, returns, call_conv }
|
Signature { params, returns, call_conv }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user