1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-08-02 10:45:05 +00:00

fix attr name

This commit is contained in:
Nikolay Kim 2018-08-08 14:23:16 -07:00
parent 542782f28a
commit b69774db61

View file

@ -84,7 +84,7 @@ impl<S> HttpRequest<S> {
/// Construct new http request with empty state.
pub fn drop_state(&self) -> HttpRequest {
HttpRequest {
Rc::new(()),
state: Rc::new(()),
req: self.req.as_ref().map(|r| r.clone()),
resource: self.resource.clone(),
}