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:
parent
b8c207435c
commit
853504df23
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user