summaryrefslogtreecommitdiffstats
path: root/web/src/widget/button.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-02-16 00:41:06 +0100
committerLibravatar GitHub <noreply@github.com>2021-02-16 00:41:06 +0100
commit842d54732bce8f9c8b070d9bed9809b70ed728a7 (patch)
tree8d1b7e37a6e8456db0291dcd4570ef652b497f8a /web/src/widget/button.rs
parent4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc (diff)
parentec20763aef242bfa52f1d1afb910d36c903343dc (diff)
downloadiced-842d54732bce8f9c8b070d9bed9809b70ed728a7.tar.gz
iced-842d54732bce8f9c8b070d9bed9809b70ed728a7.tar.bz2
iced-842d54732bce8f9c8b070d9bed9809b70ed728a7.zip
Merge pull request #739 from hecrj/fix/beta-warnings
Fix warnings in the `beta` toolchain
Diffstat (limited to 'web/src/widget/button.rs')
-rw-r--r--web/src/widget/button.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/src/widget/button.rs b/web/src/widget/button.rs
index e7cff6a0..7c389a9f 100644
--- a/web/src/widget/button.rs
+++ b/web/src/widget/button.rs
@@ -25,8 +25,10 @@ pub struct Button<'a, Message> {
content: Element<'a, Message>,
on_press: Option<Message>,
width: Length,
+ #[allow(dead_code)]
height: Length,
min_width: u32,
+ #[allow(dead_code)]
min_height: u32,
padding: u16,
style: Box<dyn StyleSheet>,