Skip to content

Commit

Permalink
Fix for CI regarding the new generic CachingLocked
Browse files Browse the repository at this point in the history
  • Loading branch information
gfusee committed Oct 23, 2024
1 parent c6e74ae commit 417eae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caching/src/locked/caching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ impl Locker for Arc<RwLock<()>> {
}

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
}
}

Expand Down

0 comments on commit 417eae9

Please sign in to comment.