Fix tests

This commit is contained in:
Antoni Boucher 2025-03-27 15:28:31 -04:00
parent ecf0a1eea3
commit ec44cfdfb4
7 changed files with 22 additions and 6 deletions

View file

@ -138,6 +138,14 @@ impl Mul for u8 {
}
}
impl Mul for i32 {
type Output = Self;
fn mul(self, rhs: Self) -> Self::Output {
self * rhs
}
}
impl Mul for usize {
type Output = Self;
@ -248,6 +256,14 @@ impl Sub for i16 {
}
}
impl Sub for i32 {
type Output = Self;
fn sub(self, rhs: Self) -> Self {
self - rhs
}
}
#[lang = "rem"]
pub trait Rem<RHS = Self> {
type Output;