1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 10:02:38 +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> { impl<S> Clone for HttpRequest<S> {
fn clone(&self) -> 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())
} }
} }