File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
#![ feature( core, std_misc) ]
2
- #![ cfg_attr( test, feature( io, net) ) ]
3
2
4
3
extern crate "route-recognizer" as router;
5
4
extern crate conduit;
@@ -125,7 +124,7 @@ mod tests {
125
124
extern crate semver;
126
125
use std:: collections:: HashMap ;
127
126
use std:: io;
128
- use std:: net:: IpAddr ;
127
+ use std:: net:: SocketAddr ;
129
128
130
129
use { RouteBuilder , RequestParams } ;
131
130
@@ -159,7 +158,7 @@ mod tests {
159
158
self . path . as_slice ( )
160
159
}
161
160
fn query_string < ' a > ( & ' a self ) -> Option < & ' a str > { unimplemented ! ( ) }
162
- fn remote_ip ( & self ) -> IpAddr { unimplemented ! ( ) }
161
+ fn remote_addr ( & self ) -> SocketAddr { unimplemented ! ( ) }
163
162
fn content_length ( & self ) -> Option < u64 > { unimplemented ! ( ) }
164
163
fn headers < ' a > ( & ' a self ) -> & ' a Headers { unimplemented ! ( ) }
165
164
fn body < ' a > ( & ' a mut self ) -> & ' a mut io:: Read { unimplemented ! ( ) }
You can’t perform that action at this time.
0 commit comments