Skip to content

Commit 3c02210

Browse files
quaternictgross35
authored andcommitted
remove a redundant debug_assert
1 parent 02d423c commit 3c02210

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libm/src/math/support/int_traits/narrowing_div.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ where
8989
U::D: Int + NarrowingDiv,
9090
{
9191
if n.leading_zeros() > 0 || a >= n {
92-
debug_assert!(false, "unsafe preconditions not met");
9392
unsafe { core::hint::unreachable_unchecked() }
9493
}
9594

0 commit comments

Comments
 (0)