mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-23 02:43:16 +01:00
Merge pull request #40 from actix/fix/noisy-check
fix noisy check warning
This commit is contained in:
commit
a72d4aa0c8
@ -289,7 +289,7 @@ where
|
|||||||
.insert(IdentityItem { id, changed: false });
|
.insert(IdentityItem { id, changed: false });
|
||||||
|
|
||||||
// https://github.com/actix/actix-web/issues/1263
|
// https://github.com/actix/actix-web/issues/1263
|
||||||
let fut = { srv.borrow_mut().call(req) };
|
let fut = srv.borrow_mut().call(req);
|
||||||
let mut res = fut.await?;
|
let mut res = fut.await?;
|
||||||
let id = res.request().extensions_mut().remove::<IdentityItem>();
|
let id = res.request().extensions_mut().remove::<IdentityItem>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user