Skip to content

Commit 99597c1

Browse files
remove invariant for checked_ilog
1 parent c71fdff commit 99597c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ macro_rules! uint_impl {
14021402
n = self.ilog2() / (base.ilog2() + 1);
14031403
r = base.pow(n);
14041404
}
1405-
//#[safety::loop_invariant(base > 1 && r > 1 && n <= r.ilog2())]
1405+
14061406
while r <= self / base {
14071407
n += 1;
14081408
r *= base;

0 commit comments

Comments
 (0)