Allow dead code explicitly in iced_web

This commit is contained in:
Héctor Ramón Jiménez 2021-02-15 23:59:31 +01:00
parent 4de164dcc7
commit 9ba9558429
6 changed files with 8 additions and 0 deletions

View file

@ -38,7 +38,9 @@ pub struct Slider<'a, T, Message> {
step: T,
value: T,
on_change: Rc<Box<dyn Fn(T) -> Message>>,
#[allow(dead_code)]
width: Length,
#[allow(dead_code)]
style: Box<dyn StyleSheet>,
}