Fix tests.

This commit is contained in:
Stephen Chung
2022-08-18 21:36:00 +08:00
parent a9b6e8b98c
commit f9d74fe313
2 changed files with 14 additions and 20 deletions

View File

@@ -26,6 +26,7 @@ where
x.checked_add(&y)
}
#[inline(always)]
#[allow(dead_code)]
fn regular_add<T>(x: T, y: T) -> Option<T>
where
T: Debug + Copy + PartialOrd + std::ops::Add<Output = T>,