Remove redundant cfg in image::cache
This commit is contained in:
parent
71a8bc17d0
commit
0001b18408
1 changed files with 0 additions and 3 deletions
|
|
@ -397,7 +397,6 @@ mod worker {
|
||||||
quit: mpsc::Receiver<()>,
|
quit: mpsc::Receiver<()>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "image")]
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
enum Job {
|
enum Job {
|
||||||
Load(image::Handle),
|
Load(image::Handle),
|
||||||
|
|
@ -411,7 +410,6 @@ mod worker {
|
||||||
Quit,
|
Quit,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "image")]
|
|
||||||
pub enum Work {
|
pub enum Work {
|
||||||
Upload {
|
Upload {
|
||||||
handle: image::Handle,
|
handle: image::Handle,
|
||||||
|
|
@ -424,7 +422,6 @@ mod worker {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(feature = "image", not(target_arch = "wasm32")))]
|
|
||||||
impl Instance {
|
impl Instance {
|
||||||
fn run(mut self) {
|
fn run(mut self) {
|
||||||
loop {
|
loop {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue