From 6632ce5fb06e940f6b72cfad62d9fc83fe45702f Mon Sep 17 00:00:00 2001 From: hatoo Date: Wed, 8 Jan 2020 19:06:43 +0900 Subject: [PATCH] Remove hash_layout --- examples/paint.rs | 6 +----- 1 file changed, 1 insertion(+), 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,