zerofrom_derive

Function replace_lifetime

source
pub(crate) fn replace_lifetime(x: &Type, lt: Lifetime) -> Type
Expand description

Replace all lifetimes in a type with a specified one