From fce468e4c988cd2f7495107f7a1bcaf1ad75036d Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Tue, 8 Oct 2024 10:34:51 -0400 Subject: [PATCH] Latest stable lints Signed-off-by: Alex Snaps --- limitador/src/storage/redis/redis_async.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/limitador/src/storage/redis/redis_async.rs b/limitador/src/storage/redis/redis_async.rs index ebeba761..fca8964f 100644 --- a/limitador/src/storage/redis/redis_async.rs +++ b/limitador/src/storage/redis/redis_async.rs @@ -56,7 +56,7 @@ impl AsyncCounterStorage for AsyncRedisStorage { .key(key_for_counters_of_limit(counter.limit())) .arg(counter.window().as_secs()) .arg(delta) - .invoke_async::<_>(&mut con) + .invoke_async::<()>(&mut con) .instrument(info_span!("datastore")) .await?; @@ -128,7 +128,7 @@ impl AsyncCounterStorage for AsyncRedisStorage { .ignore(); } pipeline - .query_async(&mut con) + .query_async::<()>(&mut con) .instrument(info_span!("datastore")) .await?; @@ -198,7 +198,7 @@ impl AsyncCounterStorage for AsyncRedisStorage { async fn clear(&self) -> Result<(), StorageErr> { let mut con = self.conn_manager.clone(); redis::cmd("FLUSHDB") - .query_async::<_>(&mut con) + .query_async::<()>(&mut con) .instrument(info_span!("datastore")) .await?; Ok(())