about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-12 02:00:18 +0000
committerbors <bors@rust-lang.org>2019-01-12 02:00:18 +0000
commit0c91f3d97fe78d31c8cf3abb1858c65d73c6aa17 (patch)
treeef5057d474b09cc69205de7056d193c1f861b049 /src/liballoc
parentb43986184b8f4e0d633e8ae1704f0e19aec30cb2 (diff)
parent14be8a7f14fdcc4d146efc7501be9933e0a817b0 (diff)
downloadrust-0c91f3d97fe78d31c8cf3abb1858c65d73c6aa17.tar.gz
rust-0c91f3d97fe78d31c8cf3abb1858c65d73c6aa17.zip
Auto merge of #57234 - Centril:const-stabilizations-2, r=oli-obk
Const-stabilize `const_int_ops` + `const_ip`

r? @oli-obk

## Note for relnotes: This PR includes https://github.com/rust-lang/rust/pull/57105.

I've added T-lang since this affects intrinsics and the operational semantics of Rust's `const fn` fragment.

## Stable APIs proposed for constification

+ `const_int_ops`:
    + `count_ones`
    + `count_zeros`
    + `leading_zeros`
    + `trailing_zeros`
    + `swap_bytes`
    + `from_be`
    + `from_le`
    + `to_be`
    + `to_le`
+ `const_ip`
    + `Ipv4Addr::new`

## Unstable APIs constified

+ `const_int_conversion`:
    + `reverse_bits`
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions