From c6f8a412677fb192e721a738b1582b9aec961137 Mon Sep 17 00:00:00 2001 From: Austin Bonander Date: Tue, 21 Mar 2023 12:01:53 -0700 Subject: [PATCH] fix: non-binding `let` in SQLite driver --- sqlx-core/src/sqlite/statement/unlock_notify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/sqlite/statement/unlock_notify.rs b/sqlx-core/src/sqlite/statement/unlock_notify.rs index fb47f282..d0a86897 100644 --- a/sqlx-core/src/sqlite/statement/unlock_notify.rs +++ b/sqlx-core/src/sqlite/statement/unlock_notify.rs @@ -48,7 +48,7 @@ impl Notify { } fn wait(&self) { - let _ = self + let _guard = self .condvar .wait_while(self.mutex.lock().unwrap(), |fired| !*fired) .unwrap();