From ad905fc10fa131da9f028b5a5479ca84280baa13 Mon Sep 17 00:00:00 2001 From: Garrett Thornburg Date: Thu, 3 Oct 2024 01:35:45 +0200 Subject: [PATCH] Add explicit type cast to resolve rust issue 123748 --- src/stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.rs b/src/stats.rs index 0b73084..e212ee4 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -111,7 +111,7 @@ impl StatsPublisher { .arg(stats.beat.timestamp()) .arg("info") .arg(serde_json::to_string(&stats.info)?) - .query_async(conn.unnamespaced_borrow_mut()) + .query_async::<_, ()>(conn.unnamespaced_borrow_mut()) .await?; conn.expire(self.identity.clone(), 30).await?;