summaryrefslogtreecommitdiffstats
path: root/web/src/widget/container.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-02-15 23:59:31 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-02-16 00:03:20 +0100
commit9ba955842913c9e1060bdb98deef9d645917b5cb (patch)
tree3e6f07d99985c0abfd219c9556f7da5fdd495249 /web/src/widget/container.rs
parent4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc (diff)
downloadiced-9ba955842913c9e1060bdb98deef9d645917b5cb.tar.gz
iced-9ba955842913c9e1060bdb98deef9d645917b5cb.tar.bz2
iced-9ba955842913c9e1060bdb98deef9d645917b5cb.zip
Allow dead code explicitly in `iced_web`
Diffstat (limited to '')
-rw-r--r--web/src/widget/container.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/src/widget/container.rs b/web/src/widget/container.rs
index 7187a4f0..8de3cc41 100644
--- a/web/src/widget/container.rs
+++ b/web/src/widget/container.rs
@@ -12,6 +12,7 @@ pub struct Container<'a, Message> {
width: Length,
height: Length,
max_width: u32,
+ #[allow(dead_code)]
max_height: u32,
horizontal_alignment: Align,
vertical_alignment: Align,