From 2ebe09dacb12d1d0c02acbd55e2387b052616f47 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 30 Aug 2019 01:54:41 +0200 Subject: Make `Hasher` opaque --- src/user_interface.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/user_interface.rs') diff --git a/src/user_interface.rs b/src/user_interface.rs index 3482c9b9..b269951d 100644 --- a/src/user_interface.rs +++ b/src/user_interface.rs @@ -86,7 +86,7 @@ impl<'a, Message, Renderer> UserInterface<'a, Message, Renderer> { let root = root.into(); let hasher = &mut crate::Hasher::default(); - root.hash(hasher); + root.hash_layout(hasher); let hash = hasher.finish(); @@ -302,7 +302,7 @@ impl Cache { let root: Element<'_, (), ()> = Column::new().into(); let hasher = &mut crate::Hasher::default(); - root.hash(hasher); + root.hash_layout(hasher); Cache { hash: hasher.finish(), -- cgit