diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-27 22:12:56 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-27 22:12:56 -0600 |
commit | a22ef19c05736933f6380fe5744bc67d06d5566b (patch) | |
tree | b24888cb5679c12cbc85b4872ec84fbb04775207 | |
parent | d4603ba739968f9f9c3f1e612ef3574a556092d3 (diff) |
fix an awkward sentence.
-rw-r--r-- | lib/caching/arcache.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/caching/arcache.go b/lib/caching/arcache.go index c5fe190..892cf8a 100644 --- a/lib/caching/arcache.go +++ b/lib/caching/arcache.go @@ -400,9 +400,9 @@ func (c *arCache[K, V]) dblReplace() *LinkedListEntry[arcLiveEntry[K, V]] { // c.recentLive, c.frequentPinned, c.frequentLive, or c.unusedLive), // and is ready to be stored into a list by the caller. // -// The `ghostEntry` argument is the entry that the eviction (if one is -// performed) should be recorded into. It is still present in its old -// list (in case an eviction is not performed). +// If an eviction is performed, the `ghostEntry` argument is where the +// eviction should be recorded to. `ghostEntry` is still present in +// its old list, in case an eviction is not performed. // // The `arbitrary` argument is arbitrary, see the quote about it // below. |