mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
clippy
This commit is contained in:
parent
4f6f0b0137
commit
37f2bf5625
@ -186,7 +186,6 @@ where
|
|||||||
let mut conn = None;
|
let mut conn = None;
|
||||||
|
|
||||||
// check if there is idle connection for given key.
|
// check if there is idle connection for given key.
|
||||||
#[allow(clippy::must_not_suspend)]
|
|
||||||
let mut map = inner.available.borrow_mut();
|
let mut map = inner.available.borrow_mut();
|
||||||
|
|
||||||
if let Some(conns) = map.get_mut(&key) {
|
if let Some(conns) = map.get_mut(&key) {
|
||||||
|
Loading…
Reference in New Issue
Block a user