summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar hatoo <hato2000@gmail.com>2020-01-08 19:06:43 +0900
committerLibravatar hatoo <hato2000@gmail.com>2020-01-08 19:11:05 +0900
commit6632ce5fb06e940f6b72cfad62d9fc83fe45702f (patch)
tree286634e504765aee7136121b845c372a079b8584 /examples
parente7df33d752283368c2c2aa3ca96bbb52efb8242c (diff)
downloadiced-6632ce5fb06e940f6b72cfad62d9fc83fe45702f.tar.gz
iced-6632ce5fb06e940f6b72cfad62d9fc83fe45702f.tar.bz2
iced-6632ce5fb06e940f6b72cfad62d9fc83fe45702f.zip
Remove hash_layout
Diffstat (limited to 'examples')
-rw-r--r--examples/paint.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/paint.rs b/examples/paint.rs
index a97638c6..18ac2d02 100644
--- a/examples/paint.rs
+++ b/examples/paint.rs
@@ -147,11 +147,7 @@ mod paint {
)
}
- fn hash_layout(&self, state: &mut Hasher) {
- use std::hash::Hash;
-
- self.strokes.len().hash(state);
- }
+ fn hash_layout(&self, _state: &mut Hasher) {}
fn on_event(
&mut self,