1
0
forked from M-Labs/nac3

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

View File

@ -60,7 +60,7 @@ pub type VarMap = IndexMapping<TypeVarId>;
/// 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
where
I: IntoIterator<Item = TypeVar>,