Skip to content

Commit 4613bc9

Browse files
committed
Bump version to 1.50.0
1 parent 3f8fdf8 commit 4613bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/net/ip.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ impl IpAddr {
263263
/// assert_eq!(IpAddr::V4(Ipv4Addr::new(203, 0, 113, 6)).is_ipv4(), true);
264264
/// assert_eq!(IpAddr::V6(Ipv6Addr::new(0x2001, 0xdb8, 0, 0, 0, 0, 0, 0)).is_ipv4(), false);
265265
/// ```
266-
#[rustc_const_stable(feature = "const_ip", since = "1.48.0")]
266+
#[rustc_const_stable(feature = "const_ip", since = "1.50.0")]
267267
#[stable(feature = "ipaddr_checker", since = "1.16.0")]
268268
pub const fn is_ipv4(&self) -> bool {
269269
matches!(self, IpAddr::V4(_))
@@ -282,7 +282,7 @@ impl IpAddr {
282282
/// assert_eq!(IpAddr::V4(Ipv4Addr::new(203, 0, 113, 6)).is_ipv6(), false);
283283
/// assert_eq!(IpAddr::V6(Ipv6Addr::new(0x2001, 0xdb8, 0, 0, 0, 0, 0, 0)).is_ipv6(), true);
284284
/// ```
285-
#[rustc_const_stable(feature = "const_ip", since = "1.48.0")]
285+
#[rustc_const_stable(feature = "const_ip", since = "1.50.0")]
286286
#[stable(feature = "ipaddr_checker", since = "1.16.0")]
287287
pub const fn is_ipv6(&self) -> bool {
288288
matches!(self, IpAddr::V6(_))

0 commit comments

Comments
 (0)