mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +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> {
|
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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user