1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

fix noisy check warning

This commit is contained in:
Rob Ede 2020-04-05 00:27:08 +01:00
parent 4d64ac13dd
commit fd2cc47447
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6

View File

@ -289,7 +289,7 @@ where
.insert(IdentityItem { id, changed: false });
// 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 id = res.request().extensions_mut().remove::<IdentityItem>();