forked from M-Labs/nac3
1
0
Fork 0

core: fix typo in fmt::Display of TypeVarId

This commit is contained in:
lyken 2024-06-13 15:41:25 +08:00
parent f026b48e2a
commit f523e26227
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ pub type IndexMapping<K, V = Type> = IndexMap<K, V>;
pub struct TypeVarId(pub u32);
impl fmt::Display for TypeVarId {
// NOTE: Must output the string fo the ID value. Certain unit tests rely on string comparisons.
// NOTE: Must output the string of the ID value. Certain unit tests rely on string comparisons.
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_fmt(format_args!("{}", self.0))
}