@@ -134,14 +134,14 @@ fn each_addr<A: ToSocketAddrs, F, T>(addr: A, mut f: F) -> io::Result<T>
134134 iterator and returning socket \
135135 addresses",
136136 issue = "27705" ) ]
137- #[ rustc_deprecated( since = "1.25" , reason = "Use the ToSocketAddrs trait instead" ) ]
137+ #[ rustc_deprecated( since = "1.25.0 " , reason = "Use the ToSocketAddrs trait instead" ) ]
138138pub struct LookupHost ( net_imp:: LookupHost ) ;
139139
140140#[ unstable( feature = "lookup_host" , reason = "unsure about the returned \
141141 iterator and returning socket \
142142 addresses",
143143 issue = "27705" ) ]
144- #[ rustc_deprecated( since = "1.25" , reason = "Use the ToSocketAddrs trait instead" ) ]
144+ #[ rustc_deprecated( since = "1.25.0 " , reason = "Use the ToSocketAddrs trait instead" ) ]
145145#[ allow( deprecated) ]
146146impl Iterator for LookupHost {
147147 type Item = SocketAddr ;
@@ -152,7 +152,7 @@ impl Iterator for LookupHost {
152152 iterator and returning socket \
153153 addresses",
154154 issue = "27705" ) ]
155- #[ rustc_deprecated( since = "1.25" , reason = "Use the ToSocketAddrs trait instead" ) ]
155+ #[ rustc_deprecated( since = "1.25.0 " , reason = "Use the ToSocketAddrs trait instead" ) ]
156156#[ allow( deprecated) ]
157157impl fmt:: Debug for LookupHost {
158158 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -186,7 +186,7 @@ impl fmt::Debug for LookupHost {
186186 iterator and returning socket \
187187 addresses",
188188 issue = "27705" ) ]
189- #[ rustc_deprecated( since = "1.25" , reason = "Use the ToSocketAddrs trait instead" ) ]
189+ #[ rustc_deprecated( since = "1.25.0 " , reason = "Use the ToSocketAddrs trait instead" ) ]
190190#[ allow( deprecated) ]
191191pub fn lookup_host ( host : & str ) -> io:: Result < LookupHost > {
192192 net_imp:: lookup_host ( host) . map ( LookupHost )
0 commit comments