rustdoc::clean

Function is_elided_lifetime

Source
fn is_elided_lifetime(param: &GenericParam<'_>) -> bool
Expand description

This can happen for async fn, e.g. async fn f<'_>(&'_ self).

See lifetime_to_generic_param in rustc_ast_lowering for more information.