chore(ui): simplify render request boolean for clippy

This commit is contained in:
skylar
2026-11-12 17:28:08 -06:00
parent 19985a3f19
commit fbdf4f5760
+1 -4
View File
@@ -658,10 +658,7 @@ impl Renderer {
if let Some(&(k, p)) = self.pending.get(&slot) {
return k != key || (p != priority && self.is_queued(slot));
}
if self.textures.get(&slot).is_some_and(|t| t.key == key) || self.failed.get(&slot).is_some_and(|f| f.0 == key && f.2 == self.catalog_rev) {
return false;
}
true
!(self.textures.get(&slot).is_some_and(|t| t.key == key) || self.failed.get(&slot).is_some_and(|f| f.0 == key && f.2 == self.catalog_rev))
}
/// Free a view slot's texture and stage cache (the view is no longer shown).
pub fn release(&mut self, slot: Slot) {