1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-21 21:25:36 +02:00

drop request's extract_xxx methods

This commit is contained in:
Nikolay Kim
2018-03-29 09:26:01 -07:00
parent 9e61c67128
commit 7d6deab9fb
5 changed files with 172 additions and 199 deletions

View File

@@ -155,14 +155,6 @@ impl Reply {
_ => None,
}
}
#[cfg(test)]
pub(crate) fn into_future(self) -> Box<Future<Item=HttpResponse, Error=Error>> {
match self.0 {
ReplyItem::Future(fut) => fut,
_ => panic!(),
}
}
}
impl Responder for Reply {