diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2018-03-17 11:55:44 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2018-03-26 08:37:56 -0500 |
| commit | a7f21f1c0a57984eb9a04b39223ae0c5b1cf63fb (patch) | |
| tree | d0e9336f55c123d1680a9796b5afe204617ee766 /src/libstd | |
| parent | 07104692d5df1401fe0109fca800e4efe4e81a6c (diff) | |
| download | rust-a7f21f1c0a57984eb9a04b39223ae0c5b1cf63fb.tar.gz rust-a7f21f1c0a57984eb9a04b39223ae0c5b1cf63fb.zip | |
Fix a few more
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/net/ip.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/net/ip.rs b/src/libstd/net/ip.rs index 0d73a6f4fd7..36376c07791 100644 --- a/src/libstd/net/ip.rs +++ b/src/libstd/net/ip.rs @@ -1346,7 +1346,7 @@ impl FromInner<c::in6_addr> for Ipv6Addr { } } -#[unstable(feature = "i128", issue = "35118")] +#[stable(feature = "i128", since = "1.26.0")] impl From<Ipv6Addr> for u128 { fn from(ip: Ipv6Addr) -> u128 { let ip = ip.segments(); @@ -1355,7 +1355,7 @@ impl From<Ipv6Addr> for u128 { ((ip[6] as u128) << 16) + (ip[7] as u128) } } -#[unstable(feature = "i128", issue = "35118")] +#[stable(feature = "i128", since = "1.26.0")] impl From<u128> for Ipv6Addr { fn from(ip: u128) -> Ipv6Addr { Ipv6Addr::new( |
