Skip to main content

staticize_lifetimes

Function staticize_lifetimes 

Source
fn staticize_lifetimes(ty: &Type) -> Type
Expand description

Replaces every lifetime in ty with 'static, so a type written against the trait impl’s 'a can be named in a function body.