From 062e318dd585cf20aea7ac601296cab0c1e8ff0a Mon Sep 17 00:00:00 2001 From: David Mak Date: Wed, 24 Apr 2024 17:41:41 +0800 Subject: [PATCH] core/magic_methods: Fix clippy warnings --- nac3core/src/typecheck/magic_methods.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nac3core/src/typecheck/magic_methods.rs b/nac3core/src/typecheck/magic_methods.rs index fd38c02c..6f0211c8 100644 --- a/nac3core/src/typecheck/magic_methods.rs +++ b/nac3core/src/typecheck/magic_methods.rs @@ -291,7 +291,7 @@ pub fn impl_mod( impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::Mod]); } -/// [Operator::MatMult] +/// [`Operator::MatMult`] pub fn impl_matmul( unifier: &mut Unifier, store: &PrimitiveStore, @@ -299,7 +299,7 @@ pub fn impl_matmul( other_ty: &[Type], ret_ty: Option, ) { - impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::MatMult]) + impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::MatMult]); } /// `UAdd`, `USub`