From 7d532553ae18bfff1bec9e0df3fa66313073e3dd Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Thu, 15 May 2025 17:56:07 +0530 Subject: Add raw API --- evict.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'evict.go') diff --git a/evict.go b/evict.go index eff626c..e355a11 100644 --- a/evict.go +++ b/evict.go @@ -34,7 +34,7 @@ type evictionPolicy struct { } // pushEvict adds a node to the eviction list. -func pushEvict(node *node, sentinnel *node) { +func pushEvict(node, sentinnel *node) { node.EvictPrev = sentinnel node.EvictNext = node.EvictPrev.EvictNext node.EvictNext.EvictPrev = node -- cgit v1.2.3-70-g09d2