Skip to content

Commit 3dfeed2

Browse files
committed
fix(saluki-common): adapt cache lifecycle to quick_cache 0.7
quick_cache 0.7 removed Lifecycle::begin_request in favor of constructing RequestState via Default, which broke the build.
1 parent 267b18a commit 3dfeed2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/saluki-common/src/cache/expiry.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ where
259259
{
260260
type RequestState = ();
261261

262-
#[inline]
263-
fn begin_request(&self) -> Self::RequestState {}
264-
265262
#[inline]
266263
fn on_evict(&self, _state: &mut Self::RequestState, key: K, _value: V) {
267264
// Note: this fires for all capacity-driven evictions including rejected overweight

0 commit comments

Comments
 (0)