Remove unnecessary mod-cfg

This commit is contained in:
Jubilee Young 2020-10-02 11:40:57 -07:00
parent 797cb9526a
commit 4e973966b9
1 changed files with 14 additions and 17 deletions

View File

@ -60,8 +60,6 @@ macro_rules! wrapping_test {
};
}
#[cfg(tests)]
mod tests {
wrapping_test!(i8, i8::MIN, i8::MAX);
wrapping_test!(i16, i16::MIN, i16::MAX);
wrapping_test!(i32, i32::MIN, i32::MAX);
@ -76,4 +74,3 @@ mod tests {
#[cfg(not(target_os = "emscripten"))]
wrapping_test!(u128, u128::MIN, u128::MAX);
wrapping_test!(usize, usize::MIN, usize::MAX);
}