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:
Ethan Brierley 2024-01-05 22:34:43 +00:00
parent b8c207435c
commit 853504df23

View File

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