]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #90077 - woppopo:const_nonzero_from, r=oli-obk
authorYuki Okushi <jtitor@2k36.org>
Thu, 21 Oct 2021 05:11:10 +0000 (14:11 +0900)
committerGitHub <noreply@github.com>
Thu, 21 Oct 2021 05:11:10 +0000 (14:11 +0900)
commite4cfaa1a7ed336311e281ff188e704d7ef60b1bf
tree4a1f89b3d93090d2e8adf7169c9c886fda8c2f78
parent371fd4f1c05bd0cf2cd6c4912e0cc83460075370
parent2fc780638e069155c87555da10ff234d1018fcaa
Rollup merge of #90077 - woppopo:const_nonzero_from, r=oli-obk

Make `From` impls of NonZero integer const.

I also changed the feature gate added to `From` impls of Atomic integer to `const_num_from_num` from `const_convert`.

Tracking issue: #87852