about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-17 20:07:09 +0100
committerGitHub <noreply@github.com>2022-01-17 20:07:09 +0100
commit731af702173315695c1718f4dfafc40eea335bba (patch)
tree880b97dbe418e7e06beb71fe6413494fcdad9bc0 /src/librustdoc/html/static/js/source-script.js
parent25f73b7815b1dc224ff63a6e3a656422b2e374ac (diff)
parent3dfcc66d487bc0dbc9f35326d58fe145fa9fd586 (diff)
downloadrust-731af702173315695c1718f4dfafc40eea335bba.tar.gz
rust-731af702173315695c1718f4dfafc40eea335bba.zip
Rollup merge of #92956 - scottmcm:nonzero-log2, r=dtolnay
Add `log2` and `log10` to `NonZeroU*`

This version is nice in that it doesn't need to worry about zeros, and thus doesn't have any error cases.

cc `int_log` tracking issue #70887

(I didn't add them to `NonZeroI*` despite it being on `i*` since allowing negatives bring back the error cases again.)
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions