Merge pull request #7096 from paritytech/td-nodef-features
Fix no-default-features.
This commit is contained in:
commit
ab7307288b
@ -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!()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user