1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 09:42:40 +01:00

clone router with httprequest

This commit is contained in:
Nikolay Kim 2018-02-19 14:26:51 -08:00
parent f2f1798215
commit 360ffbba68

View File

@ -600,7 +600,7 @@ impl Default for HttpRequest<()> {
impl<S> Clone for HttpRequest<S> {
fn clone(&self) -> HttpRequest<S> {
HttpRequest(self.0.clone(), self.1.clone(), None)
HttpRequest(self.0.clone(), self.1.clone(), self.2.clone())
}
}