Elide lifetimes

This commit is contained in:
Ayaz Hafiz 2023-07-12 16:10:59 -05:00
parent 937e042c8f
commit 3a3ee4dedf
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 9 additions and 9 deletions

View file

@ -5620,8 +5620,8 @@ pub fn verify_fn(fn_val: FunctionValue<'_>) {
}
}
pub(crate) fn function_value_by_func_spec<'a, 'ctx>(
env: &Env<'a, 'ctx, '_>,
pub(crate) fn function_value_by_func_spec<'ctx>(
env: &Env<'_, 'ctx, '_>,
func_spec: FuncBorrowSpec,
symbol: Symbol,
) -> FunctionValue<'ctx> {
@ -5631,8 +5631,8 @@ pub(crate) fn function_value_by_func_spec<'a, 'ctx>(
function_value_by_name_help(env, symbol, fn_name)
}
fn function_value_by_name_help<'a, 'ctx>(
env: &Env<'a, 'ctx, '_>,
fn function_value_by_name_help<'ctx>(
env: &Env<'_, 'ctx, '_>,
symbol: Symbol,
fn_name: &str,
) -> FunctionValue<'ctx> {