core: refactor to use TypeVarId
and TypeVar
#414
|
@ -60,7 +60,7 @@ pub type VarMap = IndexMapping<TypeVarId>;
|
||||||
|
|
||||||
/// Build a [`VarMap`] from an iterator of [`TypeVar`]
|
/// Build a [`VarMap`] from an iterator of [`TypeVar`]
|
||||||
///
|
///
|
||||||
/// The resulting [`VarMap`] wil have the same order as the input iterator.
|
/// The resulting [`VarMap`] will have the same order as the input iterator.
|
||||||
pub fn into_var_map<I>(vars: I) -> VarMap
|
pub fn into_var_map<I>(vars: I) -> VarMap
|
||||||
where
|
where
|
||||||
I: IntoIterator<Item = TypeVar>,
|
I: IntoIterator<Item = TypeVar>,
|
||||||
|
|
Loading…
Reference in New Issue