summaryrefslogtreecommitdiffstats
path: root/src/widget/button.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-30 01:54:41 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-30 01:54:41 +0200
commit2ebe09dacb12d1d0c02acbd55e2387b052616f47 (patch)
tree743e00dc6a33a7441f6357bf0d47c2a683183dbb /src/widget/button.rs
parente84e0b876c3c9547f5758c72f1cb971fdba71483 (diff)
downloadiced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.gz
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.bz2
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.zip
Make `Hasher` opaque
Diffstat (limited to 'src/widget/button.rs')
-rw-r--r--src/widget/button.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/button.rs b/src/widget/button.rs
index 2f7a641c..d77ef8ce 100644
--- a/src/widget/button.rs
+++ b/src/widget/button.rs
@@ -187,7 +187,7 @@ where
)
}
- fn hash(&self, state: &mut Hasher) {
+ fn hash_layout(&self, state: &mut Hasher) {
self.style.hash(state);
}
}