Remove redundant cfg in image::cache

This commit is contained in:
Héctor Ramón Jiménez 2025-10-27 00:01:39 +01:00
parent 71a8bc17d0
commit 0001b18408
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -397,7 +397,6 @@ mod worker {
quit: mpsc::Receiver<()>,
}
#[cfg(feature = "image")]
#[derive(Debug)]
enum Job {
Load(image::Handle),
@ -411,7 +410,6 @@ mod worker {
Quit,
}
#[cfg(feature = "image")]
pub enum Work {
Upload {
handle: image::Handle,
@ -424,7 +422,6 @@ mod worker {
},
}
#[cfg(all(feature = "image", not(target_arch = "wasm32")))]
impl Instance {
fn run(mut self) {
loop {