We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e6d75d commit bc06465Copy full SHA for bc06465
src/int/specialized_div_rem/mod.rs
@@ -57,9 +57,7 @@ mod asymmetric;
57
/// impossible to reach by Rust users, unless `compiler-builtins` public division functions or
58
/// `core/std::unchecked_div/rem` are directly used without a zero check in front.
59
fn zero_div_fn() -> ! {
60
- // TODO: change this once the algorithms are verified
61
- //unsafe {core::hint::unreachable_unchecked()}
62
- ::abort()
+ unsafe { core::hint::unreachable_unchecked() }
63
}
64
65
// The `B` extension on RISC-V determines if a CLZ assembly instruction exists
0 commit comments