From f523e26227c0d7c01828afb71aa2f7bd52585619 Mon Sep 17 00:00:00 2001 From: lyken Date: Thu, 13 Jun 2024 15:41:25 +0800 Subject: [PATCH] core: fix typo in fmt::Display of TypeVarId --- nac3core/src/typecheck/typedef/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3core/src/typecheck/typedef/mod.rs b/nac3core/src/typecheck/typedef/mod.rs index 855074bb..6489817a 100644 --- a/nac3core/src/typecheck/typedef/mod.rs +++ b/nac3core/src/typecheck/typedef/mod.rs @@ -33,7 +33,7 @@ pub type IndexMapping = IndexMap; 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)) }