mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 21:38:46 +00:00
fix attr name
This commit is contained in:
parent
542782f28a
commit
b69774db61
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ impl<S> HttpRequest<S> {
|
||||||
/// Construct new http request with empty state.
|
/// Construct new http request with empty state.
|
||||||
pub fn drop_state(&self) -> HttpRequest {
|
pub fn drop_state(&self) -> HttpRequest {
|
||||||
HttpRequest {
|
HttpRequest {
|
||||||
Rc::new(()),
|
state: Rc::new(()),
|
||||||
req: self.req.as_ref().map(|r| r.clone()),
|
req: self.req.as_ref().map(|r| r.clone()),
|
||||||
resource: self.resource.clone(),
|
resource: self.resource.clone(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue