summaryrefslogtreecommitdiffstats
path: root/src/widget/text.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/text.rs
parente84e0b876c3c9547f5758c72f1cb971fdba71483 (diff)
downloadiced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.gz
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.tar.bz2
iced-2ebe09dacb12d1d0c02acbd55e2387b052616f47.zip
Make `Hasher` opaque
Diffstat (limited to '')
-rw-r--r--src/widget/text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/text.rs b/src/widget/text.rs
index 858488d3..fb6e30b9 100644
--- a/src/widget/text.rs
+++ b/src/widget/text.rs
@@ -134,7 +134,7 @@ where
MouseCursor::OutOfBounds
}
- fn hash(&self, state: &mut Hasher) {
+ fn hash_layout(&self, state: &mut Hasher) {
self.style.hash(state);
self.content.hash(state);