Fix no-default-features.

This commit is contained in:
Tomasz Drwięga
2017-11-20 11:02:48 +01:00
parent 4a6b103f0e
commit 4f5d73c945
2 changed files with 5 additions and 3 deletions

View File

@@ -194,9 +194,7 @@ mod server {
pub struct Middleware;
impl RequestMiddleware for Middleware {
fn on_request(
&self, _req: &hyper::server::Request<hyper::net::HttpStream>, _control: &hyper::Control
) -> RequestMiddlewareAction {
fn on_request(&self, _req: hyper::Request) -> RequestMiddlewareAction {
unreachable!()
}
}