]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #88713 - falk-hueffner:int-log10-documentation-fixes, r=scottmcm
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 10 Oct 2021 16:22:18 +0000 (18:22 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Oct 2021 16:22:18 +0000 (18:22 +0200)
commit4473b945bf1f4b189fc452591444b3e0e99f84ff
tree85610432048d0acf9c60029d1486bc88298db527
parentfd5bed73d0e0cd04e5616436950cf01df4cb30f8
parent138ebd19c696996a8f4c99586d207bf02f7eeaf5
Rollup merge of #88713 - falk-hueffner:int-log10-documentation-fixes, r=scottmcm

Improve docs for int_log

* Clarify rounding.
* Avoid "wrapping" wording.
* Omit wrong claim on 0 only being returned in error cases.
* Typo fix for one_less_than_next_power_of_two.
library/core/src/num/int_macros.rs
library/core/src/num/uint_macros.rs