We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad170f2 commit 8b6122fCopy full SHA for 8b6122f
src/libstd/net/ip.rs
@@ -347,6 +347,7 @@ impl Ipv4Addr {
347
/// # Examples
348
///
349
/// ```
350
+ /// #![feature(ip)]
351
/// use std::net::Ipv4Addr;
352
353
/// let addr = Ipv4Addr::localhost();
@@ -361,6 +362,7 @@ impl Ipv4Addr {
361
362
363
364
365
366
367
368
/// let addr = Ipv4Addr::unspecified();
@@ -821,6 +823,7 @@ impl Ipv6Addr {
821
823
822
824
825
826
827
/// use std::net::Ipv6Addr;
828
829
/// let addr = Ipv6Addr::localhost();
@@ -835,6 +838,7 @@ impl Ipv6Addr {
835
838
836
839
837
840
841
842
843
844
/// let addr = Ipv6Addr::unspecified();
0 commit comments