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 {
347347 /// # Examples
348348 ///
349349 /// ```
350+ /// #![feature(ip)]
350351 /// use std::net::Ipv4Addr;
351352 ///
352353 /// let addr = Ipv4Addr::localhost();
@@ -361,6 +362,7 @@ impl Ipv4Addr {
361362 /// # Examples
362363 ///
363364 /// ```
365+ /// #![feature(ip)]
364366 /// use std::net::Ipv4Addr;
365367 ///
366368 /// let addr = Ipv4Addr::unspecified();
@@ -821,6 +823,7 @@ impl Ipv6Addr {
821823 /// # Examples
822824 ///
823825 /// ```
826+ /// #![feature(ip)]
824827 /// use std::net::Ipv6Addr;
825828 ///
826829 /// let addr = Ipv6Addr::localhost();
@@ -835,6 +838,7 @@ impl Ipv6Addr {
835838 /// # Examples
836839 ///
837840 /// ```
841+ /// #![feature(ip)]
838842 /// use std::net::Ipv6Addr;
839843 ///
840844 /// let addr = Ipv6Addr::unspecified();
You can’t perform that action at this time.
0 commit comments