From fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 24 Mar 2020 14:07:34 +0100 Subject: [PATCH] Fix `Recipe::hash` in `download_progress` example --- examples/download_progress/src/download.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs index 96e1dc28..f46a01f7 100644 --- a/examples/download_progress/src/download.rs +++ b/examples/download_progress/src/download.rs @@ -20,7 +20,9 @@ where fn hash(&self, state: &mut H) { use std::hash::Hash; + std::any::TypeId::of::().hash(state); + self.url.hash(state); } fn stream(