Skip to content

Commit

Permalink
Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcm
Browse files Browse the repository at this point in the history
Stabilize integer logarithms

Stabilizes feature `int_log`.

I've also made the functions const stable, because they don't depend on any unstable const features. `rustc_allow_const_fn_unstable` is just there for `Option::expect`, which could be replaced with a `match` and `panic!`. cc ``@rust-lang/wg-const-eval``

closes rust-lang/rust#70887 (tracking issue)

~~blocked on FCP finishing: rust-lang/rust#70887 (comment)
FCP finished: rust-lang/rust#70887 (comment)
  • Loading branch information
Dylan-DPC authored Nov 9, 2022
2 parents 416e2d8 + 1137560 commit 126cdcf
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 126cdcf

Please sign in to comment.