@@ -134,14 +134,14 @@ fn each_addr<A: ToSocketAddrs, F, T>(addr: A, mut f: F) -> io::Result<T>
134
134
iterator and returning socket \
135
135
addresses",
136
136
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" ) ]
138
138
pub struct LookupHost ( net_imp:: LookupHost ) ;
139
139
140
140
#[ unstable( feature = "lookup_host" , reason = "unsure about the returned \
141
141
iterator and returning socket \
142
142
addresses",
143
143
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" ) ]
145
145
#[ allow( deprecated) ]
146
146
impl Iterator for LookupHost {
147
147
type Item = SocketAddr ;
@@ -152,7 +152,7 @@ impl Iterator for LookupHost {
152
152
iterator and returning socket \
153
153
addresses",
154
154
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" ) ]
156
156
#[ allow( deprecated) ]
157
157
impl fmt:: Debug for LookupHost {
158
158
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -186,7 +186,7 @@ impl fmt::Debug for LookupHost {
186
186
iterator and returning socket \
187
187
addresses",
188
188
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" ) ]
190
190
#[ allow( deprecated) ]
191
191
pub fn lookup_host ( host : & str ) -> io:: Result < LookupHost > {
192
192
net_imp:: lookup_host ( host) . map ( LookupHost )
0 commit comments