From 7058781a87b4d5a03b12b4ae20f58f36ce6bdbc2 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Thu, 14 Nov 2019 14:08:15 +0200 Subject: [PATCH] add missing `.await`s --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9b94f34..b8b123f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -487,7 +487,7 @@ where Err((_, conn)) => { let clone = inner.clone(); let locked = clone.internals.lock().await; - let _ = drop_connections(&inner, locked, vec![conn]); + let _ = drop_connections(&inner, locked, vec![conn]).await; } }; } @@ -723,7 +723,7 @@ impl Pool { let mut locked = inner.internals.lock().await; if broken { - let _ = drop_connections(&inner, locked, vec![conn]); + let _ = drop_connections(&inner, locked, vec![conn]).await; } else { let conn = IdleConn::make_idle(Conn { conn: conn,