Skip to content

Commit

Permalink
Add explicit type cast to resolve rust issue 123748
Browse files Browse the repository at this point in the history
  • Loading branch information
film42 committed Oct 2, 2024
1 parent a07b045 commit ad905fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down

0 comments on commit ad905fc

Please sign in to comment.