File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ impl Ipv4Addr {
347
347
/// # Examples
348
348
///
349
349
/// ```
350
+ /// #![feature(ip)]
350
351
/// use std::net::Ipv4Addr;
351
352
///
352
353
/// let addr = Ipv4Addr::localhost();
@@ -361,6 +362,7 @@ impl Ipv4Addr {
361
362
/// # Examples
362
363
///
363
364
/// ```
365
+ /// #![feature(ip)]
364
366
/// use std::net::Ipv4Addr;
365
367
///
366
368
/// let addr = Ipv4Addr::unspecified();
@@ -821,6 +823,7 @@ impl Ipv6Addr {
821
823
/// # Examples
822
824
///
823
825
/// ```
826
+ /// #![feature(ip)]
824
827
/// use std::net::Ipv6Addr;
825
828
///
826
829
/// let addr = Ipv6Addr::localhost();
@@ -835,6 +838,7 @@ impl Ipv6Addr {
835
838
/// # Examples
836
839
///
837
840
/// ```
841
+ /// #![feature(ip)]
838
842
/// use std::net::Ipv6Addr;
839
843
///
840
844
/// let addr = Ipv6Addr::unspecified();
You can’t perform that action at this time.
0 commit comments