Rollup merge of #119641 - eopb:std-unused-ip-feature, r=ChrisDenton

Remove feature not required by `Ipv6Addr::to_cononical` doctest

The feature does not seem to be required by this doctest.
This commit is contained in:
Matthias Krüger 2024-01-27 10:48:47 +01:00 committed by GitHub
commit b35a3f89bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1893,7 +1893,6 @@ pub const fn to_ipv4(&self) -> Option<Ipv4Addr> {
/// # Examples
///
/// ```
/// #![feature(ip)]
/// use std::net::Ipv6Addr;
///
/// assert_eq!(Ipv6Addr::new(0, 0, 0, 0, 0, 0xffff, 0x7f00, 0x1).is_loopback(), false);