held: a shorter comment
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
82d76e9b37
commit
9036c92442
1 file changed
+1
-1
@@ -27,7 +27,7 @@ impl Holders {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// One holder leaves; the last one gets the image to free.
|
/// One holder leaves; the last gets the image to free.
|
||||||
fn leave(&mut self, key: Key) -> Option<Option<Arc<RenderImage>>> {
|
fn leave(&mut self, key: Key) -> Option<Option<Arc<RenderImage>>> {
|
||||||
let record = self.0.get_mut(&key).expect("a held asset is counted");
|
let record = self.0.get_mut(&key).expect("a held asset is counted");
|
||||||
record.0 -= 1;
|
record.0 -= 1;
|
||||||
|
|||||||
Reference in new issue
Block a user