add a note for Ipv4Addr::to_ipv6_compatible
This commit is contained in:
parent
b4acb11033
commit
3b29913295
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue