mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
clone router with httprequest
This commit is contained in:
parent
f2f1798215
commit
360ffbba68
@ -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 New Issue
Block a user