forked from M-Labs/nac3
core/magic_methods: Fix clippy warnings
This commit is contained in:
parent
c4dc36ae99
commit
062e318dd5
|
@ -291,7 +291,7 @@ pub fn impl_mod(
|
||||||
impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::Mod]);
|
impl_binop(unifier, store, ty, other_ty, ret_ty, &[Operator::Mod]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// [Operator::MatMult]
|
/// [`Operator::MatMult`]
|
||||||
pub fn impl_matmul(
|
pub fn impl_matmul(
|
||||||
unifier: &mut Unifier,
|
unifier: &mut Unifier,
|
||||||
store: &PrimitiveStore,
|
store: &PrimitiveStore,
|
||||||
|
@ -299,7 +299,7 @@ pub fn impl_matmul(
|
||||||
other_ty: &[Type],
|
other_ty: &[Type],
|
||||||
ret_ty: Option<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`
|
/// `UAdd`, `USub`
|
||||||
|
|
Loading…
Reference in New Issue