1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-02-22 10:23:18 +01:00

Merge pull request #40 from actix/fix/noisy-check

fix noisy check warning
This commit is contained in:
Yuki Okushi 2020-04-05 13:20:43 +09:00 committed by GitHub
commit a72d4aa0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>();