From 7f629f157970acf6d99a41ebba6ed733e157f5b7 Mon Sep 17 00:00:00 2001 From: lyken Date: Fri, 30 Aug 2024 17:12:44 +0800 Subject: [PATCH] core: fix comment in unify_call --- nac3core/src/typecheck/typedef/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3core/src/typecheck/typedef/mod.rs b/nac3core/src/typecheck/typedef/mod.rs index 93ccd9fbc..22d04791f 100644 --- a/nac3core/src/typecheck/typedef/mod.rs +++ b/nac3core/src/typecheck/typedef/mod.rs @@ -670,8 +670,8 @@ impl Unifier { let num_args = posargs.len() + kwargs.len(); // Now we check the arguments against the parameters, - // and depending on what `call_info` is, we might change how the behavior `unify_call()` - // in hopes to improve user error messages when type checking fails. + // and depending on what `call_info` is, we might change how `unify_call()` behaves + // to improve user error messages when type checking fails. match operator_info { Some(OperatorInfo::IsBinaryOp { self_type, operator }) => { // The call is written in the form of (say) `a + b`.