summaryrefslogtreecommitdiffstats
path: root/src/widget.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.rs
parente84e0b876c3c9547f5758c72f1cb971fdba71483 (diff)
downloadiced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.gz
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.bz2
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.zip
Make `Hasher` opaque
Diffstat (limited to 'src/widget.rs')
-rw-r--r--src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 420e5534..c674b3e3 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -83,7 +83,7 @@ pub trait Widget<Message, Renderer>: std::fmt::Debug {
/// [`Widget`]: trait.Widget.html
/// [`Layout`]: ../struct.Layout.html
/// [`Text`]: text/struct.Text.html
- fn hash(&self, state: &mut Hasher);
+ fn hash_layout(&self, state: &mut Hasher);
/// Processes a runtime [`Event`].
///