build: fix dead_code warnings without "app" feature
This commit is contained in:
parent
a894a02e66
commit
afa6104c28
2 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#[cfg_attr(not(feature = "app"), allow(dead_code))]
|
||||
pub trait Toggle {
|
||||
fn toggle(&mut self);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue