Rollup merge of #51299 - faern:const-int-ops, r=oli-obk
const fn integer operations A follow up to #51171 Fixes #51267 Makes a lot of the integer methods (`swap_bytes`, `count_ones` etc) `const fn`s. See #51267 for a discussion about why this is wanted and the solution used.
Showing
想要评论请 注册 或 登录