Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
Update hyper
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogeon committed Jun 24, 2016
1 parent f93c25c commit 06a5acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/instance.rs
Expand Up @@ -429,7 +429,7 @@ impl<T: Transport, R: Router> HyperHandler<T> for RequestHandler<R> where
for<'a, 'b> &'a mut Encoder<'b, T>: Into<::handler::RawEncoder<'a, 'b>>,
for<'a, 'b> &'a mut Decoder<'b, T>: Into<::handler::RawDecoder<'a, 'b>>,
{
fn on_request(&mut self, request: Request) -> Next {
fn on_request(&mut self, request: Request<T>) -> Next {
if let Some(control) = self.control.take() {
let mut response = RawResponse {
status: StatusCode::Ok,
Expand Down

0 comments on commit 06a5acf

Please sign in to comment.