From 417eae9f2675a400a9517e86f9b24ed34f07bb20 Mon Sep 17 00:00:00 2001 From: quentin Date: Wed, 23 Oct 2024 18:20:17 +0200 Subject: [PATCH] Fix for CI regarding the new generic CachingLocked --- caching/src/locked/caching.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caching/src/locked/caching.rs b/caching/src/locked/caching.rs index 54ef254..ca9e6a1 100644 --- a/caching/src/locked/caching.rs +++ b/caching/src/locked/caching.rs @@ -28,11 +28,11 @@ impl Locker for Arc> { } async fn read(&self) -> RwLockReadGuard<'_, ()> { - self.read().await + self.as_ref().read().await } async fn write(&self) -> RwLockWriteGuard<'_, ()> { - self.write().await + self.as_ref().write().await } }