add a note for Ipv4Addr::to_ipv6_compatible
This commit is contained in:
@@ -745,6 +745,9 @@ impl Ipv4Addr {
|
|||||||
///
|
///
|
||||||
/// a.b.c.d becomes ::a.b.c.d
|
/// a.b.c.d becomes ::a.b.c.d
|
||||||
///
|
///
|
||||||
|
/// This isn't typically the method you want; these addresses don't typically
|
||||||
|
/// function on modern systems. Use `to_ipv6_mapped` instead.
|
||||||
|
///
|
||||||
/// [`IPv6` address]: Ipv6Addr
|
/// [`IPv6` address]: Ipv6Addr
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user