Skip to content

Commit

Permalink
Merge pull request #102
Browse files Browse the repository at this point in the history
Fix for CI regarding the new generic CachingLocked
  • Loading branch information
gfusee authored Oct 23, 2024
2 parents c6e74ae + 417eae9 commit 358d01c
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 358d01c

Please sign in to comment.