From 7edc432e0f72386d973774aea124acf0d7504df4 Mon Sep 17 00:00:00 2001 From: alyssa Date: Thu, 14 Nov 2024 12:23:52 +0900 Subject: [PATCH] chore(gateway): update redis.hset for Rust 2024 https://github.com/rust-lang/rust/issues/123748 --- services/gateway/src/discord/shard_state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gateway/src/discord/shard_state.rs b/services/gateway/src/discord/shard_state.rs index a301f04b..1a4b57ef 100644 --- a/services/gateway/src/discord/shard_state.rs +++ b/services/gateway/src/discord/shard_state.rs @@ -42,7 +42,7 @@ impl ShardStateManager { async fn save_shard(&self, shard_id: u32, info: ShardState) -> anyhow::Result<()> { self.redis - .hset( + .hset::<(), &str, (String, Bytes)>( "pluralkit:shardstatus", ( shard_id.to_string(),