make non-pub a function

This commit is contained in:
Folkert 2021-11-22 22:13:06 +01:00
parent b2aa33f839
commit 178eabf4dd

View file

@ -229,7 +229,7 @@ impl SolvedType {
}
}
pub fn from_var(subs: &Subs, var: Variable) -> Self {
fn from_var(subs: &Subs, var: Variable) -> Self {
let mut seen = RecursionVars::default();
Self::from_var_help(subs, &mut seen, var)
}