Fix clippy error

`'local` lifetime can be elided to `'_` which triggers:

https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
pull/452/head
Michal Rostecki 2 years ago
parent 5d0527ae51
commit 176d61ae23

@ -432,9 +432,9 @@ fn match_candidate<'target>(
Ok(Some(target_spec))
}
fn match_member<'local, 'target>(
fn match_member<'target>(
local_btf: &Btf,
local_spec: &AccessSpec<'local>,
local_spec: &AccessSpec<'_>,
local_accessor: &Accessor,
target_btf: &'target Btf,
target_id: u32,

Loading…
Cancel
Save