Skip to main content

apply_substitution

Function apply_substitution 

Source
pub fn apply_substitution(ty: &Type, subst: &Substitution) -> Type
Expand description

Apply a substitution to a type, replacing Var(id) with mapped types.