1
0
Fork 0
forked from wry/wry

all: remove dead code

This commit is contained in:
Julian Orth 2024-05-02 19:37:19 +02:00
parent a20008d446
commit 8cee61122e
32 changed files with 9 additions and 145 deletions

View file

@ -15,7 +15,6 @@ use {
theme::Color,
},
std::{
any::Any,
cell::Cell,
fmt::{Debug, Formatter},
mem,
@ -100,10 +99,6 @@ impl Framebuffer {
}
impl GfxFramebuffer for Framebuffer {
fn as_any(&self) -> &dyn Any {
self
}
fn take_render_ops(&self) -> Vec<GfxApiOpt> {
mem::take(&mut *self.ctx.gfx_ops.borrow_mut())
}