1
0
forked from M-Labs/nac3

core/magic_methods: Fix clippy warnings

This commit is contained in:
David Mak 2024-04-24 17:41:41 +08:00
parent c4dc36ae99
commit 062e318dd5

View File

@ -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<Type>,
) {
impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::MatMult])
impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::MatMult]);
}
/// `UAdd`, `USub`