mirror of
https://github.com/actix/actix-web.git
synced 2025-02-06 06:12:25 +00:00
clone router with httprequest
This commit is contained in:
parent
f2f1798215
commit
360ffbba68
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue