forked from M-Labs/nac3
1
0
Fork 0

core: fix typo in into_var_map

This commit is contained in:
lyken 2024-06-13 16:03:47 +08:00
parent fed1361c6a
commit 6979843431
1 changed files with 1 additions and 1 deletions

View File

@ -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>,