]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #88665 - falk-hueffner:int-log-return-value-u32, r=scottmcm
authorbors <bors@rust-lang.org>
Mon, 6 Sep 2021 05:28:32 +0000 (05:28 +0000)
committerbors <bors@rust-lang.org>
Mon, 6 Sep 2021 05:28:32 +0000 (05:28 +0000)
Change return type for T::{log,log2,log10} to u32.

The value is at most 128, and this is consistent with using u32 for small values elsewhere (e.g. BITS, count_ones, leading_zeros).


Trivial merge