chore(gateway): update redis.hset for Rust 2024

https://github.com/rust-lang/rust/issues/123748
This commit is contained in:
alyssa 2024-11-14 12:23:52 +09:00
parent e4f04b5bd5
commit 7edc432e0f

View file

@ -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(),